0s autopkgtest [12:16:17]: starting date and time: 2025-05-04 12:16:17+0000 0s autopkgtest [12:16:17]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [12:16:17]: host juju-7f2275-prod-proposed-migration-environment-21; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ptce34pj/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:tzdata --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=tzdata/2025b-3ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-21@bos03-8.secgroup --name adt-questing-amd64-glib2.0-20250504-110139-juju-7f2275-prod-proposed-migration-environment-21-9160c5ea-5101-484f-821d-8b43840e9ccf --image adt/ubuntu-questing-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-21 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 53s autopkgtest [12:17:10]: testbed dpkg architecture: amd64 53s autopkgtest [12:17:10]: testbed apt version: 3.0.0 53s autopkgtest [12:17:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 54s autopkgtest [12:17:11]: testbed release detected to be: None 54s autopkgtest [12:17:11]: updating testbed package index (apt update) 55s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 55s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 55s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 55s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 55s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [124 kB] 55s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1184 kB] 55s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.3 kB] 55s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [179 kB] 55s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [128 kB] 55s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1271 kB] 55s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [466 kB] 55s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [26.5 kB] 55s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [50.7 kB] 56s Fetched 3573 kB in 1s (3434 kB/s) 56s Reading package lists... 57s autopkgtest [12:17:14]: upgrading testbed (apt dist-upgrade and autopurge) 57s Reading package lists... 57s Building dependency tree... 57s Reading state information... 58s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 58s Starting 2 pkgProblemResolver with broken count: 0 58s Done 58s Entering ResolveByKeep 59s 59s Calculating upgrade... 59s The following packages will be upgraded: 59s libmm-glib0 publicsuffix tzdata 59s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 59s Need to get 595 kB of archives. 59s After this operation, 60.4 kB of additional disk space will be used. 59s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 tzdata all 2025b-3ubuntu1 [198 kB] 59s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 publicsuffix all 20250328.1952-0.1 [135 kB] 59s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmm-glib0 amd64 1.24.0-1 [262 kB] 60s Preconfiguring packages ... 60s Fetched 595 kB in 0s (1267 kB/s) 60s (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 ... 80517 files and directories currently installed.) 60s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 60s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 60s Preparing to unpack .../publicsuffix_20250328.1952-0.1_all.deb ... 60s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 60s Preparing to unpack .../libmm-glib0_1.24.0-1_amd64.deb ... 60s Unpacking libmm-glib0:amd64 (1.24.0-1) over (1.23.4-0ubuntu3) ... 60s Setting up tzdata (2025b-3ubuntu1) ... 60s 60s Current default time zone: 'Etc/UTC' 60s Local time is now: Sun May 4 12:17:17 UTC 2025. 60s Universal Time is now: Sun May 4 12:17:17 UTC 2025. 60s Run 'dpkg-reconfigure tzdata' if you wish to change it. 60s 60s Setting up libmm-glib0:amd64 (1.24.0-1) ... 60s Setting up publicsuffix (20250328.1952-0.1) ... 60s Processing triggers for libc-bin (2.41-6ubuntu1) ... 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Starting pkgProblemResolver with broken count: 0 61s Starting 2 pkgProblemResolver with broken count: 0 61s Done 62s Solving dependencies... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s autopkgtest [12:17:21]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 64s autopkgtest [12:17:21]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 74s Get:1 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (dsc) [4812 B] 74s Get:2 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [661 kB] 74s Get:3 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [5615 kB] 74s Get:4 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (diff) [136 kB] 75s gpgv: Signature made Fri Apr 4 19:02:25 2025 UTC 75s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 75s gpgv: Can't check signature: No public key 75s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.84.1-1.dsc: no acceptable signature found 75s autopkgtest [12:17:32]: testing package glib2.0 version 2.84.1-1 79s autopkgtest [12:17:36]: build not needed 86s autopkgtest [12:17:43]: test build: preparing testbed 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 86s Starting pkgProblemResolver with broken count: 0 86s Starting 2 pkgProblemResolver with broken count: 0 86s Done 87s The following NEW packages will be installed: 87s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 87s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 87s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblkid-dev libcc1-0 87s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 87s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 87s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 87s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 87s pkgconf-bin uuid-dev zlib1g-dev 87s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 87s Need to get 71.0 MB of archives. 87s After this operation, 245 MB of additional disk space will be used. 87s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libisl23 amd64 0.27-1 [685 kB] 87s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 87s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [11.9 MB] 88s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-14 amd64 14.2.0-19ubuntu2 [1030 B] 88s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 88s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 88s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 libcc1-0 amd64 15-20250404-0ubuntu1 [47.1 kB] 88s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 libgomp1 amd64 15-20250404-0ubuntu1 [151 kB] 88s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 libitm1 amd64 15-20250404-0ubuntu1 [29.5 kB] 88s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 libasan8 amd64 15-20250404-0ubuntu1 [3076 kB] 88s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 liblsan0 amd64 15-20250404-0ubuntu1 [1362 kB] 88s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 libtsan2 amd64 15-20250404-0ubuntu1 [2760 kB] 88s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 libubsan1 amd64 15-20250404-0ubuntu1 [1211 kB] 88s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 libhwasan0 amd64 15-20250404-0ubuntu1 [1687 kB] 88s Get:15 http://ftpmaster.internal/ubuntu questing/main amd64 libquadmath0 amd64 15-20250404-0ubuntu1 [153 kB] 88s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 libgcc-14-dev amd64 14.2.0-19ubuntu2 [2815 kB] 88s Get:17 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [23.3 MB] 89s Get:18 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-14 amd64 14.2.0-19ubuntu2 [540 kB] 89s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 89s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 89s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 libstdc++-14-dev amd64 14.2.0-19ubuntu2 [2510 kB] 89s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [13.4 MB] 90s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 g++-14 amd64 14.2.0-19ubuntu2 [23.0 kB] 90s Get:24 http://ftpmaster.internal/ubuntu questing/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 90s Get:25 http://ftpmaster.internal/ubuntu questing/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 90s Get:26 http://ftpmaster.internal/ubuntu questing/main amd64 build-essential amd64 12.12ubuntu1 [5080 B] 90s Get:27 http://ftpmaster.internal/ubuntu questing/main amd64 libffi-dev amd64 3.4.7-1 [65.5 kB] 90s Get:28 http://ftpmaster.internal/ubuntu questing/main amd64 uuid-dev amd64 2.40.2-14ubuntu1 [54.5 kB] 90s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 libblkid-dev amd64 2.40.2-14ubuntu1 [235 kB] 90s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 libsepol-dev amd64 3.8.1-1 [406 kB] 90s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-16-0 amd64 10.45-1 [268 kB] 90s Get:32 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-32-0 amd64 10.45-1 [251 kB] 90s Get:33 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-posix3 amd64 10.45-1 [7204 B] 90s Get:34 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-dev amd64 10.45-1 [908 kB] 90s Get:35 http://ftpmaster.internal/ubuntu questing/main amd64 libselinux1-dev amd64 3.7-3ubuntu3 [170 kB] 90s Get:36 http://ftpmaster.internal/ubuntu questing/main amd64 libmount-dev amd64 2.40.2-14ubuntu1 [34.6 kB] 90s Get:37 http://ftpmaster.internal/ubuntu questing/main amd64 libsysprof-capture-4-dev amd64 48.0-2 [55.1 kB] 90s Get:38 http://ftpmaster.internal/ubuntu questing/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 90s Get:39 http://ftpmaster.internal/ubuntu questing/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 90s Get:40 http://ftpmaster.internal/ubuntu questing/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 90s Get:41 http://ftpmaster.internal/ubuntu questing/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 90s Get:42 http://ftpmaster.internal/ubuntu questing/main amd64 libgio-2.0-dev amd64 2.84.1-1 [1886 kB] 91s Fetched 71.0 MB in 3s (21.4 MB/s) 91s Selecting previously unselected package libisl23:amd64. 91s (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 ... 80517 files and directories currently installed.) 91s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 91s Unpacking libisl23:amd64 (0.27-1) ... 91s Selecting previously unselected package libmpc3:amd64. 91s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 91s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 91s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 91s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 91s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 91s Selecting previously unselected package cpp-14. 91s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_amd64.deb ... 91s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 91s Selecting previously unselected package cpp-x86-64-linux-gnu. 91s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 91s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 91s Selecting previously unselected package cpp. 91s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 91s Unpacking cpp (4:14.2.0-1ubuntu1) ... 91s Selecting previously unselected package libcc1-0:amd64. 91s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libcc1-0:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libgomp1:amd64. 91s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libgomp1:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libitm1:amd64. 91s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libitm1:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libasan8:amd64. 91s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libasan8:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package liblsan0:amd64. 91s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking liblsan0:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libtsan2:amd64. 91s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libtsan2:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libubsan1:amd64. 91s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libubsan1:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libhwasan0:amd64. 91s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libhwasan0:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libquadmath0:amd64. 91s Preparing to unpack .../14-libquadmath0_15-20250404-0ubuntu1_amd64.deb ... 91s Unpacking libquadmath0:amd64 (15-20250404-0ubuntu1) ... 91s Selecting previously unselected package libgcc-14-dev:amd64. 91s Preparing to unpack .../15-libgcc-14-dev_14.2.0-19ubuntu2_amd64.deb ... 91s Unpacking libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 92s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 92s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 92s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 92s Selecting previously unselected package gcc-14. 92s Preparing to unpack .../17-gcc-14_14.2.0-19ubuntu2_amd64.deb ... 92s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 92s Selecting previously unselected package gcc-x86-64-linux-gnu. 92s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 92s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 92s Selecting previously unselected package gcc. 92s Preparing to unpack .../19-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 92s Unpacking gcc (4:14.2.0-1ubuntu1) ... 92s Selecting previously unselected package libstdc++-14-dev:amd64. 92s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-19ubuntu2_amd64.deb ... 92s Unpacking libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 92s Selecting previously unselected package g++-14-x86-64-linux-gnu. 92s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 92s Unpacking g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 93s Selecting previously unselected package g++-14. 93s Preparing to unpack .../22-g++-14_14.2.0-19ubuntu2_amd64.deb ... 93s Unpacking g++-14 (14.2.0-19ubuntu2) ... 93s Selecting previously unselected package g++-x86-64-linux-gnu. 93s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 93s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 93s Selecting previously unselected package g++. 93s Preparing to unpack .../24-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 93s Unpacking g++ (4:14.2.0-1ubuntu1) ... 93s Selecting previously unselected package build-essential. 93s Preparing to unpack .../25-build-essential_12.12ubuntu1_amd64.deb ... 93s Unpacking build-essential (12.12ubuntu1) ... 93s Selecting previously unselected package libffi-dev:amd64. 93s Preparing to unpack .../26-libffi-dev_3.4.7-1_amd64.deb ... 93s Unpacking libffi-dev:amd64 (3.4.7-1) ... 93s Selecting previously unselected package uuid-dev:amd64. 93s Preparing to unpack .../27-uuid-dev_2.40.2-14ubuntu1_amd64.deb ... 93s Unpacking uuid-dev:amd64 (2.40.2-14ubuntu1) ... 93s Selecting previously unselected package libblkid-dev:amd64. 93s Preparing to unpack .../28-libblkid-dev_2.40.2-14ubuntu1_amd64.deb ... 93s Unpacking libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 93s Selecting previously unselected package libsepol-dev:amd64. 93s Preparing to unpack .../29-libsepol-dev_3.8.1-1_amd64.deb ... 93s Unpacking libsepol-dev:amd64 (3.8.1-1) ... 93s Selecting previously unselected package libpcre2-16-0:amd64. 93s Preparing to unpack .../30-libpcre2-16-0_10.45-1_amd64.deb ... 93s Unpacking libpcre2-16-0:amd64 (10.45-1) ... 93s Selecting previously unselected package libpcre2-32-0:amd64. 93s Preparing to unpack .../31-libpcre2-32-0_10.45-1_amd64.deb ... 93s Unpacking libpcre2-32-0:amd64 (10.45-1) ... 93s Selecting previously unselected package libpcre2-posix3:amd64. 93s Preparing to unpack .../32-libpcre2-posix3_10.45-1_amd64.deb ... 93s Unpacking libpcre2-posix3:amd64 (10.45-1) ... 93s Selecting previously unselected package libpcre2-dev:amd64. 93s Preparing to unpack .../33-libpcre2-dev_10.45-1_amd64.deb ... 93s Unpacking libpcre2-dev:amd64 (10.45-1) ... 93s Selecting previously unselected package libselinux1-dev:amd64. 93s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu3_amd64.deb ... 93s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu3) ... 93s Selecting previously unselected package libmount-dev:amd64. 93s Preparing to unpack .../35-libmount-dev_2.40.2-14ubuntu1_amd64.deb ... 93s Unpacking libmount-dev:amd64 (2.40.2-14ubuntu1) ... 93s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 93s Preparing to unpack .../36-libsysprof-capture-4-dev_48.0-2_amd64.deb ... 93s Unpacking libsysprof-capture-4-dev:amd64 (48.0-2) ... 93s Selecting previously unselected package libpkgconf3:amd64. 93s Preparing to unpack .../37-libpkgconf3_1.8.1-4_amd64.deb ... 93s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 93s Selecting previously unselected package pkgconf-bin. 93s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_amd64.deb ... 93s Unpacking pkgconf-bin (1.8.1-4) ... 93s Selecting previously unselected package pkgconf:amd64. 93s Preparing to unpack .../39-pkgconf_1.8.1-4_amd64.deb ... 93s Unpacking pkgconf:amd64 (1.8.1-4) ... 93s Selecting previously unselected package zlib1g-dev:amd64. 93s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 93s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 93s Selecting previously unselected package libgio-2.0-dev:amd64. 93s Preparing to unpack .../41-libgio-2.0-dev_2.84.1-1_amd64.deb ... 93s Unpacking libgio-2.0-dev:amd64 (2.84.1-1) ... 93s Setting up libgomp1:amd64 (15-20250404-0ubuntu1) ... 93s Setting up libffi-dev:amd64 (3.4.7-1) ... 93s Setting up libpcre2-16-0:amd64 (10.45-1) ... 93s Setting up libsysprof-capture-4-dev:amd64 (48.0-2) ... 93s Setting up libpcre2-32-0:amd64 (10.45-1) ... 93s Setting up libpkgconf3:amd64 (1.8.1-4) ... 93s Setting up uuid-dev:amd64 (2.40.2-14ubuntu1) ... 93s Setting up libquadmath0:amd64 (15-20250404-0ubuntu1) ... 93s Setting up libmpc3:amd64 (1.3.1-1build2) ... 93s Setting up libsepol-dev:amd64 (3.8.1-1) ... 93s Setting up pkgconf-bin (1.8.1-4) ... 93s Setting up libubsan1:amd64 (15-20250404-0ubuntu1) ... 93s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 93s Setting up libpcre2-posix3:amd64 (10.45-1) ... 93s Setting up libhwasan0:amd64 (15-20250404-0ubuntu1) ... 93s Setting up libasan8:amd64 (15-20250404-0ubuntu1) ... 93s Setting up libtsan2:amd64 (15-20250404-0ubuntu1) ... 93s Setting up libisl23:amd64 (0.27-1) ... 93s Setting up libcc1-0:amd64 (15-20250404-0ubuntu1) ... 93s Setting up liblsan0:amd64 (15-20250404-0ubuntu1) ... 93s Setting up libitm1:amd64 (15-20250404-0ubuntu1) ... 93s Setting up libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 93s Setting up libpcre2-dev:amd64 (10.45-1) ... 93s Setting up libselinux1-dev:amd64 (3.7-3ubuntu3) ... 93s Setting up pkgconf:amd64 (1.8.1-4) ... 93s Setting up cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 93s Setting up cpp-14 (14.2.0-19ubuntu2) ... 93s Setting up libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 93s Setting up libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 93s Setting up libmount-dev:amd64 (2.40.2-14ubuntu1) ... 93s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 93s Setting up libgio-2.0-dev:amd64 (2.84.1-1) ... 93s Setting up cpp (4:14.2.0-1ubuntu1) ... 93s Setting up gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 93s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 93s Setting up gcc-14 (14.2.0-19ubuntu2) ... 93s Setting up g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 93s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 93s Setting up g++-14 (14.2.0-19ubuntu2) ... 93s Setting up gcc (4:14.2.0-1ubuntu1) ... 93s Setting up g++ (4:14.2.0-1ubuntu1) ... 93s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 93s Setting up build-essential (12.12ubuntu1) ... 93s Processing triggers for libc-bin (2.41-6ubuntu1) ... 93s Processing triggers for man-db (2.13.0-1) ... 95s Processing triggers for libglib2.0-0t64:amd64 (2.84.1-1) ... 95s No schema files found: doing nothing. 95s Processing triggers for install-info (7.1.1-1) ... 96s autopkgtest [12:17:53]: test build: [----------------------- 96s + mode=dynamic 96s + getopt -o --long static -n debian/tests/build -- 96s + getopt_temp= -- 96s + eval set -- -- 96s + set -- -- 96s + true 96s + shift 96s + break 96s + mktemp -d 96s + WORKDIR=/tmp/tmp.UedotOIzgl 96s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 96s + cd /tmp/tmp.UedotOIzgl 96s + [ -n ] 96s + CROSS_COMPILE= 96s + cat 96s + cat 96s + cat 96s + cat 96s + cat 96s + cat 96s + cflags= 96s + pcflags= 96s + packages=glib-2.0 96s + pkg-config --cflags --libs glib-2.0 96s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 96s build (glib, dynamic): OK 96s + echo build (glib, dynamic): OK 96s + [ -x glib-dynamic ] 96s + foo=bar ./glib-dynamic 96s run (glib, dynamic): OK 96s + echo run (glib, dynamic): OK 96s + cflags= 96s + pcflags= 96s + packages=gobject-2.0 96s + pkg-config --cflags --libs gobject-2.0 96s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 96s build (gobject, dynamic): OK 96s + echo build (gobject, dynamic): OK 96s + [ -x gobject-dynamic ] 96s + foo=bar ./gobject-dynamic 96s run (gobject, dynamic): OK 96s + echo run (gobject, dynamic): OK 96s + cflags= 96s + pcflags= 96s + packages=gio-2.0 96s + pkg-config --cflags --libs gio-2.0 96s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 96s build (gio, dynamic): OK 96s + echo build (gio, dynamic): OK 96s + [ -x gio-dynamic ] 96s + foo=bar ./gio-dynamic 96s run (gio, dynamic): OK 96s + echo run (gio, dynamic): OK 96s + cflags= 96s + pcflags= 96s + packages=gio-unix-2.0 96s + pkg-config --cflags --libs gio-unix-2.0 96s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 97s build (gio-unix, dynamic): OK 97s + echo build (gio-unix, dynamic): OK 97s + [ -x gio-unix-dynamic ] 97s + foo=bar ./gio-unix-dynamic 97s run (gio-unix, dynamic): OK 97s + echo run (gio-unix, dynamic): OK 97s + cflags= 97s + pcflags= 97s + packages=gmodule-2.0 97s + pkg-config --cflags --libs gmodule-2.0 97s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 97s build (gmodule, dynamic): OK 97s + echo build (gmodule, dynamic): OK 97s + [ -x gmodule-dynamic ] 97s + foo=bar ./gmodule-dynamic 97s + echorun (gmodule, dynamic): OK 97s run (gmodule, dynamic): OK 97s + cflags= 97s + pcflags= 97s + packages=gthread-2.0 97s + pkg-config --cflags --libs gthread-2.0 97s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 97s build (gthread, dynamic): OK 97s + echo build (gthread, dynamic): OK 97s + [ -x gthread-dynamic ] 97s + foo=bar ./gthread-dynamic 97s run (gthread, dynamic): OK 97s + echo run (gthread, dynamic): OK 97s + rm -rf /tmp/tmp.UedotOIzgl 97s autopkgtest [12:17:54]: test build: -----------------------] 98s autopkgtest [12:17:55]: test build: - - - - - - - - - - results - - - - - - - - - - 98s build PASS (superficial) 98s autopkgtest [12:17:55]: test build-static: preparing testbed 98s Reading package lists... 98s Building dependency tree... 98s Reading state information... 99s Starting pkgProblemResolver with broken count: 0 99s Starting 2 pkgProblemResolver with broken count: 0 99s Done 99s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 100s autopkgtest [12:17:57]: test build-static: [----------------------- 100s + mode=dynamic 100s + getopt -o --long static -n debian/tests/build -- --static 100s + getopt_temp= --static -- 100s + eval set -- --static -- 100s + set -- --static -- 100s + true 100s + mode=static 100s + shift 100s + continue 100s + true 100s + shift 100s + break 100s + mktemp -d 100s + WORKDIR=/tmp/tmp.3ZOqPX8I0T 100s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 100s + cd /tmp/tmp.3ZOqPX8I0T 100s + [ -n ] 100s + CROSS_COMPILE= 100s + cat 100s + cat 100s + cat 100s + cat 100s + cat 100s + cat 100s + cflags= 100s + pcflags= 100s + packages=glib-2.0 100s + cflags=-static 100s + pcflags=--static 100s + pkg-config --static --cflags --libs glib-2.0 100s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 100s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 100s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 100s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 100s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 100s build (glib, static): OK 100s + echo build (glib, static): OK 100s + [ -x glib-static ] 100s + foo=bar ./glib-static 100s + echo run (glib, static): OK 100s + cflags= 100s + pcflags= 100s + packages=gobject-2.0 100s + cflags=-static 100s + pcflags=--static 100s run (glib, static): OK 100s + pkg-config --static --cflags --libs gobject-2.0 100s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 100s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 100s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 100s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 100s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 100s build (gobject, static): OK 100s + echo build (gobject, static): OK 100s + [ -x gobject-static ] 100s + foo=bar ./gobject-static 100s + echo run (gobject, static): OK 100s + cflags= 100s + pcflags= 100s + packages=gio-2.0 100s + cflags=-static 100s + pcflags=--static 100s + continue 100s + cflags= 100s + pcflags= 100s + packages=gio-unix-2.0 100s + cflags=-static 100s + pcflags=--static 100s + continue 100s + cflags= 100s + pcflags= 100s + packages=gmodule-2.0 100s + cflags=-static 100s + pcflags=--static 100s run (gobject, static): OK 100s + pkg-config --static --cflags --libs gmodule-2.0 100s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 101s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 101s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 101s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 101s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 101s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 101s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 101s build (gmodule, static): OK 101s + echo build (gmodule, static): OK 101s + [ -x gmodule-static ] 101s + foo=bar ./gmodule-static 101s run (gmodule, static): OK 101s + echo run (gmodule, static): OK 101s + cflags= 101s + pcflags= 101s + packages=gthread-2.0 101s + cflags=-static 101s + pcflags=--static 101s + pkg-config --static --cflags --libs gthread-2.0 101s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 101s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 101s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 101s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 101s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 101s build (gthread, static): OK 101s + echo build (gthread, static): OK 101s + [ -x gthread-static ] 101s + foo=bar ./gthread-static 101s + echo run (gthread, static): OK 101s + rm -rf /tmp/tmp.3ZOqPX8I0T 101s run (gthread, static): OK 101s autopkgtest [12:17:58]: test build-static: -----------------------] 102s build-static PASS (superficial) 102s autopkgtest [12:17:59]: test build-static: - - - - - - - - - - results - - - - - - - - - - 102s autopkgtest [12:17:59]: test girepository-tools: preparing testbed 167s autopkgtest [12:19:04]: testbed dpkg architecture: amd64 167s autopkgtest [12:19:04]: testbed apt version: 3.0.0 167s autopkgtest [12:19:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 167s autopkgtest [12:19:04]: testbed release detected to be: questing 168s autopkgtest [12:19:05]: updating testbed package index (apt update) 168s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 169s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 169s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 169s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 169s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [124 kB] 169s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.3 kB] 169s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1184 kB] 169s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [179 kB] 169s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [128 kB] 169s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1271 kB] 169s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [466 kB] 169s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [50.7 kB] 169s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [26.5 kB] 169s Fetched 3573 kB in 1s (3591 kB/s) 170s Reading package lists... 171s autopkgtest [12:19:08]: upgrading testbed (apt dist-upgrade and autopurge) 171s Reading package lists... 171s Building dependency tree... 171s Reading state information... 171s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 171s Starting 2 pkgProblemResolver with broken count: 0 171s Done 172s Entering ResolveByKeep 172s 172s Calculating upgrade... 172s The following packages will be upgraded: 172s libmm-glib0 publicsuffix tzdata 172s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 172s Need to get 595 kB of archives. 172s After this operation, 60.4 kB of additional disk space will be used. 172s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 tzdata all 2025b-3ubuntu1 [198 kB] 173s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 publicsuffix all 20250328.1952-0.1 [135 kB] 173s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmm-glib0 amd64 1.24.0-1 [262 kB] 173s Preconfiguring packages ... 173s Fetched 595 kB in 0s (1276 kB/s) 173s (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 ... 80517 files and directories currently installed.) 173s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 173s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 173s Preparing to unpack .../publicsuffix_20250328.1952-0.1_all.deb ... 173s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 173s Preparing to unpack .../libmm-glib0_1.24.0-1_amd64.deb ... 173s Unpacking libmm-glib0:amd64 (1.24.0-1) over (1.23.4-0ubuntu3) ... 173s Setting up tzdata (2025b-3ubuntu1) ... 174s 174s Current default time zone: 'Etc/UTC' 174s Local time is now: Sun May 4 12:19:11 UTC 2025. 174s Universal Time is now: Sun May 4 12:19:11 UTC 2025. 174s Run 'dpkg-reconfigure tzdata' if you wish to change it. 174s 174s Setting up libmm-glib0:amd64 (1.24.0-1) ... 174s Setting up publicsuffix (20250328.1952-0.1) ... 174s Processing triggers for libc-bin (2.41-6ubuntu1) ... 174s Reading package lists... 174s Building dependency tree... 174s Reading state information... 174s Starting pkgProblemResolver with broken count: 0 174s Starting 2 pkgProblemResolver with broken count: 0 174s Done 175s Solving dependencies... 175s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 177s Reading package lists... 178s Building dependency tree... 178s Reading state information... 178s Starting pkgProblemResolver with broken count: 0 178s Starting 2 pkgProblemResolver with broken count: 0 178s Done 178s The following NEW packages will be installed: 178s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 178s native-architecture 178s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 178s Need to get 1060 kB of archives. 178s After this operation, 12.7 MB of additional disk space will be used. 178s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 gir1.2-glib-2.0-dev amd64 2.84.1-1 [862 kB] 179s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 native-architecture all 0.2.6 [2140 B] 179s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libgirepository-2.0-0 amd64 2.84.1-1 [79.3 kB] 179s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 girepository-tools amd64 2.84.1-1 [116 kB] 179s Fetched 1060 kB in 1s (1989 kB/s) 179s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 179s (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 ... 80517 files and directories currently installed.) 179s Preparing to unpack .../gir1.2-glib-2.0-dev_2.84.1-1_amd64.deb ... 179s Unpacking gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 179s Selecting previously unselected package native-architecture. 179s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 179s Unpacking native-architecture (0.2.6) ... 179s Selecting previously unselected package libgirepository-2.0-0:amd64. 179s Preparing to unpack .../libgirepository-2.0-0_2.84.1-1_amd64.deb ... 179s Unpacking libgirepository-2.0-0:amd64 (2.84.1-1) ... 179s Selecting previously unselected package girepository-tools:amd64. 179s Preparing to unpack .../girepository-tools_2.84.1-1_amd64.deb ... 179s Unpacking girepository-tools:amd64 (2.84.1-1) ... 179s Setting up native-architecture (0.2.6) ... 179s Setting up libgirepository-2.0-0:amd64 (2.84.1-1) ... 179s Setting up gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 179s Setting up girepository-tools:amd64 (2.84.1-1) ... 179s Processing triggers for man-db (2.13.0-1) ... 180s Processing triggers for libc-bin (2.41-6ubuntu1) ... 187s autopkgtest [12:19:24]: test girepository-tools: [----------------------- 187s + cd /tmp/autopkgtest.v9JF9g/autopkgtest_tmp 187s + dpkg-architecture -qDEB_HOST_GNU_TYPE 187s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 187s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 187s + dpkg-architecture -qDEB_HOST_MULTIARCH 187s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 187s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 187s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 187s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 187s typelib: GLib-2.0 187s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 188s autopkgtest [12:19:25]: test girepository-tools: -----------------------] 188s autopkgtest [12:19:25]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 188s girepository-tools PASS (superficial) 189s autopkgtest [12:19:26]: test libgio-2.0-dev-bin: preparing testbed 258s autopkgtest [12:20:35]: testbed dpkg architecture: amd64 258s autopkgtest [12:20:35]: testbed apt version: 3.0.0 258s autopkgtest [12:20:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 259s autopkgtest [12:20:36]: testbed release detected to be: questing 259s autopkgtest [12:20:36]: updating testbed package index (apt update) 260s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 260s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 260s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 260s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 260s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1184 kB] 260s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.3 kB] 260s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [124 kB] 260s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [179 kB] 260s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [128 kB] 260s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [466 kB] 260s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1271 kB] 261s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [26.5 kB] 261s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [50.7 kB] 261s Fetched 3573 kB in 1s (3368 kB/s) 262s Reading package lists... 262s autopkgtest [12:20:39]: upgrading testbed (apt dist-upgrade and autopurge) 262s Reading package lists... 263s Building dependency tree... 263s Reading state information... 263s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 263s Starting 2 pkgProblemResolver with broken count: 0 263s Done 263s Entering ResolveByKeep 263s 263s Calculating upgrade... 264s The following packages will be upgraded: 264s libmm-glib0 publicsuffix tzdata 264s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 264s Need to get 595 kB of archives. 264s After this operation, 60.4 kB of additional disk space will be used. 264s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 tzdata all 2025b-3ubuntu1 [198 kB] 264s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 publicsuffix all 20250328.1952-0.1 [135 kB] 264s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmm-glib0 amd64 1.24.0-1 [262 kB] 264s Preconfiguring packages ... 264s Fetched 595 kB in 0s (1239 kB/s) 265s (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 ... 80517 files and directories currently installed.) 265s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 265s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 265s Preparing to unpack .../publicsuffix_20250328.1952-0.1_all.deb ... 265s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 265s Preparing to unpack .../libmm-glib0_1.24.0-1_amd64.deb ... 265s Unpacking libmm-glib0:amd64 (1.24.0-1) over (1.23.4-0ubuntu3) ... 265s Setting up tzdata (2025b-3ubuntu1) ... 265s 265s Current default time zone: 'Etc/UTC' 265s Local time is now: Sun May 4 12:20:42 UTC 2025. 265s Universal Time is now: Sun May 4 12:20:42 UTC 2025. 265s Run 'dpkg-reconfigure tzdata' if you wish to change it. 265s 265s Setting up libmm-glib0:amd64 (1.24.0-1) ... 265s Setting up publicsuffix (20250328.1952-0.1) ... 265s Processing triggers for libc-bin (2.41-6ubuntu1) ... 265s Reading package lists... 266s Building dependency tree... 266s Reading state information... 266s Starting pkgProblemResolver with broken count: 0 266s Starting 2 pkgProblemResolver with broken count: 0 266s Done 266s Solving dependencies... 266s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 269s Reading package lists... 269s Building dependency tree... 269s Reading state information... 269s Starting pkgProblemResolver with broken count: 0 269s Starting 2 pkgProblemResolver with broken count: 0 269s Done 270s The following NEW packages will be installed: 270s libgio-2.0-dev-bin 270s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 270s Need to get 129 kB of archives. 270s After this operation, 711 kB of additional disk space will be used. 270s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libgio-2.0-dev-bin amd64 2.84.1-1 [129 kB] 270s Fetched 129 kB in 0s (372 kB/s) 270s Selecting previously unselected package libgio-2.0-dev-bin. 270s (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 ... 80517 files and directories currently installed.) 270s Preparing to unpack .../libgio-2.0-dev-bin_2.84.1-1_amd64.deb ... 270s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 270s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 271s Processing triggers for man-db (2.13.0-1) ... 275s autopkgtest [12:20:52]: test libgio-2.0-dev-bin: [----------------------- 276s + gdbus-codegen --help 276s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 276s [--c-namespace NAMESPACE] [--c-generate-object-manager] 276s [--c-generate-autocleanup {none,objects,all}] 276s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 276s [--generate-rst OUTFILES] [--pragma-once] 276s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 276s [--glib-min-required VERSION] 276s [--glib-max-allowed VERSION] 276s [--symbol-decorator SYMBOL_DECORATOR] 276s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 276s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 276s [--generate-c-code OUTFILES | --header | --body | 276s --interface-info-header | --interface-info-body] 276s [--output FILE | --output-directory OUTDIR] 276s FILE [FILE ...] 276s 276s D-Bus code and documentation generator 276s 276s positional arguments: 276s FILE D-Bus introspection XML file 276s 276s options: 276s -h, --help show this help message and exit 276s --interface-prefix PREFIX 276s String to strip from D-Bus interface names for code 276s and docs 276s --c-namespace NAMESPACE 276s The namespace to use for generated C code 276s --c-generate-object-manager 276s Generate a GDBusObjectManagerClient subclass when 276s generating C code 276s --c-generate-autocleanup {none,objects,all} 276s Generate autocleanup support 276s --generate-docbook OUTFILES 276s Generate Docbook in OUTFILES-org.Project.IFace.xml 276s --generate-md OUTFILES 276s Generate Markdown in OUTFILES-org.Project.IFace.md 276s --generate-rst OUTFILES 276s Generate reStructuredText in OUTFILES- 276s org.Project.IFace.rst 276s --pragma-once Use "pragma once" as the inclusion guard 276s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 276s Add annotation (may be used several times) 276s --glib-min-required VERSION 276s Minimum version of GLib to be supported by the 276s outputted code (default: 2.30) 276s --glib-max-allowed VERSION 276s Maximum version of GLib to be used by the outputted 276s code (default: current GLib version) 276s --symbol-decorator SYMBOL_DECORATOR 276s Macro used to decorate a symbol in the outputted 276s header, possibly to export symbols 276s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 276s Additional header required for decorator specified by 276s --symbol-decorator 276s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 276s Additional define required for decorator specified by 276s --symbol-decorator 276s --generate-c-code OUTFILES 276s Generate C code in OUTFILES.[ch] 276s --header Generate C headers 276s --body Generate C code 276s --interface-info-header 276s Generate GDBusInterfaceInfo C header 276s --interface-info-body 276s Generate GDBusInterfaceInfo C code 276s --output FILE Write output into the specified file 276s --output-directory OUTDIR 276s Location to output generated files 276s + glib-compile-resources --version 276s 2.84.1 276s + glib-genmarshal --version 276s glib-genmarshal version 2.84.1 276s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 276s You may redistribute copies of glib-genmarshal under the terms of 276s the GNU General Public License which can be found in the 276s GLib source package. Sources, examples and contact 276s information are available at http://www.gtk.org 276s + glib-gettextize --version 276s /usr/bin/glib-gettextize (GNU glib) 2.84.1 276s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 276s This is free software; see the source for copying conditions. There is NO 276s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 276s Written by Ulrich Drepper 276s + glib-mkenums --version 276s glib-mkenums version 2.84.1 276s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 276s You may redistribute copies of glib-mkenums under the terms of 276s the GNU General Public License which can be found in the 276s GLib source package. Sources, examples and contact 276s information are available at http://www.gtk.org 276s + gobject-query tree 276s GObject 276s + gtester --version 276s gtester version 2.84.1 276s + gtester-report --version 276s gtester-report (GLib utils) version 2.84.1. 276s autopkgtest [12:20:53]: test libgio-2.0-dev-bin: -----------------------] 277s libgio-2.0-dev-bin PASS (superficial) 277s autopkgtest [12:20:54]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 277s autopkgtest [12:20:54]: test libglib2.0-dev: preparing testbed 341s autopkgtest [12:21:58]: testbed dpkg architecture: amd64 341s autopkgtest [12:21:58]: testbed apt version: 3.0.0 342s autopkgtest [12:21:59]: @@@@@@@@@@@@@@@@@@@@ test bed setup 342s autopkgtest [12:21:59]: testbed release detected to be: questing 342s autopkgtest [12:21:59]: updating testbed package index (apt update) 343s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 343s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 343s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 343s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 343s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [124 kB] 343s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1184 kB] 343s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.3 kB] 343s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [179 kB] 343s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [128 kB] 343s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1271 kB] 343s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [466 kB] 343s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [50.7 kB] 343s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [26.5 kB] 344s Fetched 3573 kB in 1s (3515 kB/s) 344s Reading package lists... 345s autopkgtest [12:22:02]: upgrading testbed (apt dist-upgrade and autopurge) 345s Reading package lists... 345s Building dependency tree... 345s Reading state information... 346s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 346s Starting 2 pkgProblemResolver with broken count: 0 346s Done 346s Entering ResolveByKeep 346s 346s Calculating upgrade... 347s The following packages will be upgraded: 347s libmm-glib0 publicsuffix tzdata 347s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 347s Need to get 595 kB of archives. 347s After this operation, 60.4 kB of additional disk space will be used. 347s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 tzdata all 2025b-3ubuntu1 [198 kB] 347s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 publicsuffix all 20250328.1952-0.1 [135 kB] 347s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmm-glib0 amd64 1.24.0-1 [262 kB] 347s Preconfiguring packages ... 347s Fetched 595 kB in 0s (1252 kB/s) 348s (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 ... 80517 files and directories currently installed.) 348s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 348s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 348s Preparing to unpack .../publicsuffix_20250328.1952-0.1_all.deb ... 348s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 348s Preparing to unpack .../libmm-glib0_1.24.0-1_amd64.deb ... 348s Unpacking libmm-glib0:amd64 (1.24.0-1) over (1.23.4-0ubuntu3) ... 348s Setting up tzdata (2025b-3ubuntu1) ... 348s 348s Current default time zone: 'Etc/UTC' 348s Local time is now: Sun May 4 12:22:05 UTC 2025. 348s Universal Time is now: Sun May 4 12:22:05 UTC 2025. 348s Run 'dpkg-reconfigure tzdata' if you wish to change it. 348s 348s Setting up libmm-glib0:amd64 (1.24.0-1) ... 348s Setting up publicsuffix (20250328.1952-0.1) ... 348s Processing triggers for libc-bin (2.41-6ubuntu1) ... 348s Reading package lists... 348s Building dependency tree... 348s Reading state information... 349s Starting pkgProblemResolver with broken count: 0 349s Starting 2 pkgProblemResolver with broken count: 0 349s Done 349s Solving dependencies... 349s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 352s Reading package lists... 352s Building dependency tree... 352s Reading state information... 352s Starting pkgProblemResolver with broken count: 0 352s Starting 2 pkgProblemResolver with broken count: 0 352s Done 353s The following NEW packages will be installed: 353s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 353s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 353s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu gir1.2-glib-2.0-dev 353s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev 353s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 353s libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 353s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 353s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 353s libstdc++-14-dev libsysprof-capture-4-dev libtsan2 libubsan1 353s native-architecture pkgconf pkgconf-bin uuid-dev zlib1g-dev 353s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 353s Need to get 72.4 MB of archives. 353s After this operation, 259 MB of additional disk space will be used. 353s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libisl23 amd64 0.27-1 [685 kB] 353s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 353s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [11.9 MB] 354s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-14 amd64 14.2.0-19ubuntu2 [1030 B] 354s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [5586 B] 354s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 cpp amd64 4:14.2.0-1ubuntu1 [22.4 kB] 354s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 libcc1-0 amd64 15-20250404-0ubuntu1 [47.1 kB] 354s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 libgomp1 amd64 15-20250404-0ubuntu1 [151 kB] 354s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 libitm1 amd64 15-20250404-0ubuntu1 [29.5 kB] 354s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 libasan8 amd64 15-20250404-0ubuntu1 [3076 kB] 354s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 liblsan0 amd64 15-20250404-0ubuntu1 [1362 kB] 354s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 libtsan2 amd64 15-20250404-0ubuntu1 [2760 kB] 354s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 libubsan1 amd64 15-20250404-0ubuntu1 [1211 kB] 354s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 libhwasan0 amd64 15-20250404-0ubuntu1 [1687 kB] 354s Get:15 http://ftpmaster.internal/ubuntu questing/main amd64 libquadmath0 amd64 15-20250404-0ubuntu1 [153 kB] 354s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 libgcc-14-dev amd64 14.2.0-19ubuntu2 [2815 kB] 354s Get:17 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [23.3 MB] 355s Get:18 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-14 amd64 14.2.0-19ubuntu2 [540 kB] 355s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [1208 B] 355s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 gcc amd64 4:14.2.0-1ubuntu1 [5004 B] 355s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 libstdc++-14-dev amd64 14.2.0-19ubuntu2 [2510 kB] 355s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-19ubuntu2 [13.4 MB] 355s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 g++-14 amd64 14.2.0-19ubuntu2 [23.0 kB] 355s Get:24 http://ftpmaster.internal/ubuntu questing/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1ubuntu1 [968 B] 355s Get:25 http://ftpmaster.internal/ubuntu questing/main amd64 g++ amd64 4:14.2.0-1ubuntu1 [1100 B] 355s Get:26 http://ftpmaster.internal/ubuntu questing/main amd64 build-essential amd64 12.12ubuntu1 [5080 B] 355s Get:27 http://ftpmaster.internal/ubuntu questing/main amd64 gir1.2-glib-2.0-dev amd64 2.84.1-1 [862 kB] 355s Get:28 http://ftpmaster.internal/ubuntu questing/main amd64 native-architecture all 0.2.6 [2140 B] 355s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 libgirepository-2.0-0 amd64 2.84.1-1 [79.3 kB] 355s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 girepository-tools amd64 2.84.1-1 [116 kB] 355s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 libffi-dev amd64 3.4.7-1 [65.5 kB] 355s Get:32 http://ftpmaster.internal/ubuntu questing/main amd64 uuid-dev amd64 2.40.2-14ubuntu1 [54.5 kB] 355s Get:33 http://ftpmaster.internal/ubuntu questing/main amd64 libblkid-dev amd64 2.40.2-14ubuntu1 [235 kB] 355s Get:34 http://ftpmaster.internal/ubuntu questing/main amd64 libsepol-dev amd64 3.8.1-1 [406 kB] 355s Get:35 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-16-0 amd64 10.45-1 [268 kB] 355s Get:36 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-32-0 amd64 10.45-1 [251 kB] 355s Get:37 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-posix3 amd64 10.45-1 [7204 B] 355s Get:38 http://ftpmaster.internal/ubuntu questing/main amd64 libpcre2-dev amd64 10.45-1 [908 kB] 355s Get:39 http://ftpmaster.internal/ubuntu questing/main amd64 libselinux1-dev amd64 3.7-3ubuntu3 [170 kB] 355s Get:40 http://ftpmaster.internal/ubuntu questing/main amd64 libmount-dev amd64 2.40.2-14ubuntu1 [34.6 kB] 355s Get:41 http://ftpmaster.internal/ubuntu questing/main amd64 libsysprof-capture-4-dev amd64 48.0-2 [55.1 kB] 355s Get:42 http://ftpmaster.internal/ubuntu questing/main amd64 libpkgconf3 amd64 1.8.1-4 [32.3 kB] 355s Get:43 http://ftpmaster.internal/ubuntu questing/main amd64 pkgconf-bin amd64 1.8.1-4 [21.6 kB] 355s Get:44 http://ftpmaster.internal/ubuntu questing/main amd64 pkgconf amd64 1.8.1-4 [16.8 kB] 355s Get:45 http://ftpmaster.internal/ubuntu questing/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1ubuntu1 [895 kB] 355s Get:46 http://ftpmaster.internal/ubuntu questing/main amd64 libgio-2.0-dev amd64 2.84.1-1 [1886 kB] 355s Get:47 http://ftpmaster.internal/ubuntu questing/main amd64 libgio-2.0-dev-bin amd64 2.84.1-1 [129 kB] 355s Get:48 http://ftpmaster.internal/ubuntu questing/main amd64 libglib2.0-bin amd64 2.84.1-1 [103 kB] 355s Get:49 http://ftpmaster.internal/ubuntu questing/main amd64 libglib2.0-dev-bin amd64 2.84.1-1 [18.1 kB] 355s Get:50 http://ftpmaster.internal/ubuntu questing/main amd64 libglib2.0-dev amd64 2.84.1-1 [18.9 kB] 356s Fetched 72.4 MB in 3s (28.2 MB/s) 356s Selecting previously unselected package libisl23:amd64. 356s (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 ... 80517 files and directories currently installed.) 356s Preparing to unpack .../00-libisl23_0.27-1_amd64.deb ... 356s Unpacking libisl23:amd64 (0.27-1) ... 356s Selecting previously unselected package libmpc3:amd64. 356s Preparing to unpack .../01-libmpc3_1.3.1-1build2_amd64.deb ... 356s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 356s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 356s Preparing to unpack .../02-cpp-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 356s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 356s Selecting previously unselected package cpp-14. 356s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_amd64.deb ... 356s Unpacking cpp-14 (14.2.0-19ubuntu2) ... 356s Selecting previously unselected package cpp-x86-64-linux-gnu. 356s Preparing to unpack .../04-cpp-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 356s Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 356s Selecting previously unselected package cpp. 356s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_amd64.deb ... 356s Unpacking cpp (4:14.2.0-1ubuntu1) ... 356s Selecting previously unselected package libcc1-0:amd64. 356s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libcc1-0:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libgomp1:amd64. 356s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libgomp1:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libitm1:amd64. 356s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libitm1:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libasan8:amd64. 356s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libasan8:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package liblsan0:amd64. 356s Preparing to unpack .../10-liblsan0_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking liblsan0:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libtsan2:amd64. 356s Preparing to unpack .../11-libtsan2_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libtsan2:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libubsan1:amd64. 356s Preparing to unpack .../12-libubsan1_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libubsan1:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libhwasan0:amd64. 356s Preparing to unpack .../13-libhwasan0_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libhwasan0:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libquadmath0:amd64. 356s Preparing to unpack .../14-libquadmath0_15-20250404-0ubuntu1_amd64.deb ... 356s Unpacking libquadmath0:amd64 (15-20250404-0ubuntu1) ... 356s Selecting previously unselected package libgcc-14-dev:amd64. 356s Preparing to unpack .../15-libgcc-14-dev_14.2.0-19ubuntu2_amd64.deb ... 356s Unpacking libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 356s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 356s Preparing to unpack .../16-gcc-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 356s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 357s Selecting previously unselected package gcc-14. 357s Preparing to unpack .../17-gcc-14_14.2.0-19ubuntu2_amd64.deb ... 357s Unpacking gcc-14 (14.2.0-19ubuntu2) ... 357s Selecting previously unselected package gcc-x86-64-linux-gnu. 357s Preparing to unpack .../18-gcc-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 357s Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 357s Selecting previously unselected package gcc. 357s Preparing to unpack .../19-gcc_4%3a14.2.0-1ubuntu1_amd64.deb ... 357s Unpacking gcc (4:14.2.0-1ubuntu1) ... 357s Selecting previously unselected package libstdc++-14-dev:amd64. 357s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-19ubuntu2_amd64.deb ... 357s Unpacking libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 357s Selecting previously unselected package g++-14-x86-64-linux-gnu. 357s Preparing to unpack .../21-g++-14-x86-64-linux-gnu_14.2.0-19ubuntu2_amd64.deb ... 357s Unpacking g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 357s Selecting previously unselected package g++-14. 357s Preparing to unpack .../22-g++-14_14.2.0-19ubuntu2_amd64.deb ... 357s Unpacking g++-14 (14.2.0-19ubuntu2) ... 357s Selecting previously unselected package g++-x86-64-linux-gnu. 357s Preparing to unpack .../23-g++-x86-64-linux-gnu_4%3a14.2.0-1ubuntu1_amd64.deb ... 357s Unpacking g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 357s Selecting previously unselected package g++. 357s Preparing to unpack .../24-g++_4%3a14.2.0-1ubuntu1_amd64.deb ... 357s Unpacking g++ (4:14.2.0-1ubuntu1) ... 357s Selecting previously unselected package build-essential. 357s Preparing to unpack .../25-build-essential_12.12ubuntu1_amd64.deb ... 357s Unpacking build-essential (12.12ubuntu1) ... 357s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 357s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.84.1-1_amd64.deb ... 357s Unpacking gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 357s Selecting previously unselected package native-architecture. 357s Preparing to unpack .../27-native-architecture_0.2.6_all.deb ... 357s Unpacking native-architecture (0.2.6) ... 357s Selecting previously unselected package libgirepository-2.0-0:amd64. 357s Preparing to unpack .../28-libgirepository-2.0-0_2.84.1-1_amd64.deb ... 357s Unpacking libgirepository-2.0-0:amd64 (2.84.1-1) ... 357s Selecting previously unselected package girepository-tools:amd64. 357s Preparing to unpack .../29-girepository-tools_2.84.1-1_amd64.deb ... 357s Unpacking girepository-tools:amd64 (2.84.1-1) ... 357s Selecting previously unselected package libffi-dev:amd64. 357s Preparing to unpack .../30-libffi-dev_3.4.7-1_amd64.deb ... 357s Unpacking libffi-dev:amd64 (3.4.7-1) ... 357s Selecting previously unselected package uuid-dev:amd64. 357s Preparing to unpack .../31-uuid-dev_2.40.2-14ubuntu1_amd64.deb ... 357s Unpacking uuid-dev:amd64 (2.40.2-14ubuntu1) ... 357s Selecting previously unselected package libblkid-dev:amd64. 357s Preparing to unpack .../32-libblkid-dev_2.40.2-14ubuntu1_amd64.deb ... 357s Unpacking libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 357s Selecting previously unselected package libsepol-dev:amd64. 357s Preparing to unpack .../33-libsepol-dev_3.8.1-1_amd64.deb ... 357s Unpacking libsepol-dev:amd64 (3.8.1-1) ... 358s Selecting previously unselected package libpcre2-16-0:amd64. 358s Preparing to unpack .../34-libpcre2-16-0_10.45-1_amd64.deb ... 358s Unpacking libpcre2-16-0:amd64 (10.45-1) ... 358s Selecting previously unselected package libpcre2-32-0:amd64. 358s Preparing to unpack .../35-libpcre2-32-0_10.45-1_amd64.deb ... 358s Unpacking libpcre2-32-0:amd64 (10.45-1) ... 358s Selecting previously unselected package libpcre2-posix3:amd64. 358s Preparing to unpack .../36-libpcre2-posix3_10.45-1_amd64.deb ... 358s Unpacking libpcre2-posix3:amd64 (10.45-1) ... 358s Selecting previously unselected package libpcre2-dev:amd64. 358s Preparing to unpack .../37-libpcre2-dev_10.45-1_amd64.deb ... 358s Unpacking libpcre2-dev:amd64 (10.45-1) ... 358s Selecting previously unselected package libselinux1-dev:amd64. 358s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu3_amd64.deb ... 358s Unpacking libselinux1-dev:amd64 (3.7-3ubuntu3) ... 358s Selecting previously unselected package libmount-dev:amd64. 358s Preparing to unpack .../39-libmount-dev_2.40.2-14ubuntu1_amd64.deb ... 358s Unpacking libmount-dev:amd64 (2.40.2-14ubuntu1) ... 358s Selecting previously unselected package libsysprof-capture-4-dev:amd64. 358s Preparing to unpack .../40-libsysprof-capture-4-dev_48.0-2_amd64.deb ... 358s Unpacking libsysprof-capture-4-dev:amd64 (48.0-2) ... 358s Selecting previously unselected package libpkgconf3:amd64. 358s Preparing to unpack .../41-libpkgconf3_1.8.1-4_amd64.deb ... 358s Unpacking libpkgconf3:amd64 (1.8.1-4) ... 358s Selecting previously unselected package pkgconf-bin. 358s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_amd64.deb ... 358s Unpacking pkgconf-bin (1.8.1-4) ... 358s Selecting previously unselected package pkgconf:amd64. 358s Preparing to unpack .../43-pkgconf_1.8.1-4_amd64.deb ... 358s Unpacking pkgconf:amd64 (1.8.1-4) ... 358s Selecting previously unselected package zlib1g-dev:amd64. 358s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_amd64.deb ... 358s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 358s Selecting previously unselected package libgio-2.0-dev:amd64. 358s Preparing to unpack .../45-libgio-2.0-dev_2.84.1-1_amd64.deb ... 358s Unpacking libgio-2.0-dev:amd64 (2.84.1-1) ... 358s Selecting previously unselected package libgio-2.0-dev-bin. 358s Preparing to unpack .../46-libgio-2.0-dev-bin_2.84.1-1_amd64.deb ... 358s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 358s Selecting previously unselected package libglib2.0-bin. 358s Preparing to unpack .../47-libglib2.0-bin_2.84.1-1_amd64.deb ... 358s Unpacking libglib2.0-bin (2.84.1-1) ... 358s Selecting previously unselected package libglib2.0-dev-bin. 358s Preparing to unpack .../48-libglib2.0-dev-bin_2.84.1-1_amd64.deb ... 358s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 358s Selecting previously unselected package libglib2.0-dev:amd64. 358s Preparing to unpack .../49-libglib2.0-dev_2.84.1-1_amd64.deb ... 358s Unpacking libglib2.0-dev:amd64 (2.84.1-1) ... 358s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 358s Setting up native-architecture (0.2.6) ... 358s Setting up libgirepository-2.0-0:amd64 (2.84.1-1) ... 358s Setting up libglib2.0-bin (2.84.1-1) ... 358s Setting up libgomp1:amd64 (15-20250404-0ubuntu1) ... 358s Setting up libffi-dev:amd64 (3.4.7-1) ... 358s Setting up libpcre2-16-0:amd64 (10.45-1) ... 358s Setting up libsysprof-capture-4-dev:amd64 (48.0-2) ... 358s Setting up libpcre2-32-0:amd64 (10.45-1) ... 358s Setting up libpkgconf3:amd64 (1.8.1-4) ... 358s Setting up uuid-dev:amd64 (2.40.2-14ubuntu1) ... 358s Setting up libquadmath0:amd64 (15-20250404-0ubuntu1) ... 358s Setting up libmpc3:amd64 (1.3.1-1build2) ... 358s Setting up libsepol-dev:amd64 (3.8.1-1) ... 358s Setting up pkgconf-bin (1.8.1-4) ... 358s Setting up libubsan1:amd64 (15-20250404-0ubuntu1) ... 358s Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 358s Setting up libpcre2-posix3:amd64 (10.45-1) ... 358s Setting up gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 358s Setting up libhwasan0:amd64 (15-20250404-0ubuntu1) ... 358s Setting up libasan8:amd64 (15-20250404-0ubuntu1) ... 358s Setting up libtsan2:amd64 (15-20250404-0ubuntu1) ... 358s Setting up libisl23:amd64 (0.27-1) ... 358s Setting up libcc1-0:amd64 (15-20250404-0ubuntu1) ... 358s Setting up liblsan0:amd64 (15-20250404-0ubuntu1) ... 358s Setting up libitm1:amd64 (15-20250404-0ubuntu1) ... 358s Setting up libblkid-dev:amd64 (2.40.2-14ubuntu1) ... 358s Setting up girepository-tools:amd64 (2.84.1-1) ... 358s Setting up libpcre2-dev:amd64 (10.45-1) ... 358s Setting up libselinux1-dev:amd64 (3.7-3ubuntu3) ... 358s Setting up pkgconf:amd64 (1.8.1-4) ... 358s Setting up cpp-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 358s Setting up cpp-14 (14.2.0-19ubuntu2) ... 358s Setting up libgcc-14-dev:amd64 (14.2.0-19ubuntu2) ... 358s Setting up libstdc++-14-dev:amd64 (14.2.0-19ubuntu2) ... 358s Setting up libmount-dev:amd64 (2.40.2-14ubuntu1) ... 358s Setting up cpp-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 358s Setting up libglib2.0-dev-bin (2.84.1-1) ... 358s Setting up libgio-2.0-dev:amd64 (2.84.1-1) ... 358s Setting up cpp (4:14.2.0-1ubuntu1) ... 358s Setting up gcc-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 358s Setting up gcc-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 358s Setting up gcc-14 (14.2.0-19ubuntu2) ... 358s Setting up g++-14-x86-64-linux-gnu (14.2.0-19ubuntu2) ... 358s Setting up g++-x86-64-linux-gnu (4:14.2.0-1ubuntu1) ... 358s Setting up g++-14 (14.2.0-19ubuntu2) ... 358s Setting up gcc (4:14.2.0-1ubuntu1) ... 358s Setting up g++ (4:14.2.0-1ubuntu1) ... 358s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 358s Setting up build-essential (12.12ubuntu1) ... 358s Processing triggers for install-info (7.1.1-1) ... 358s Processing triggers for libc-bin (2.41-6ubuntu1) ... 358s Processing triggers for man-db (2.13.0-1) ... 359s Processing triggers for libglib2.0-0t64:amd64 (2.84.1-1) ... 359s No schema files found: doing nothing. 359s Setting up libglib2.0-dev:amd64 (2.84.1-1) ... 364s autopkgtest [12:22:21]: test libglib2.0-dev: [----------------------- 364s + debian/tests/build 364s + mode=dynamic 364s + getopt -o --long static -n debian/tests/build -- 364s + getopt_temp= -- 364s + eval set -- -- 364s + set -- -- 364s + true 364s + shift 364s + break 364s + mktemp -d 364s + WORKDIR=/tmp/tmp.hVcZu9kuxN 364s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 364s + cd /tmp/tmp.hVcZu9kuxN 364s + [ -n ] 364s + CROSS_COMPILE= 364s + cat 364s + cat 364s + cat 364s + cat 364s + cat 364s + cat 364s + cflags= 364s + pcflags= 364s + packages=glib-2.0 364s + pkg-config --cflags --libs glib-2.0 364s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 364s + echo build (glib, dynamic): OK 364s + [ -x glib-dynamic ] 364s + foo=bar ./glib-dynamic 364s build (glib, dynamic): OK 364s + echo run (glib, dynamic): OK 364s + cflags= 364s + pcflags= 364s + packages=gobject-2.0 364s run (glib, dynamic): OK 364s + pkg-config --cflags --libs gobject-2.0 364s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 364s build (gobject, dynamic): OK 364s + echo build (gobject, dynamic): OK 364s + [ -x gobject-dynamic ] 364s + foo=bar ./gobject-dynamic 364s + echo run (gobject, dynamic): OK 364s + cflags= 364s + pcflags= 364s + packages=gio-2.0 364s run (gobject, dynamic): OK 364s + pkg-config --cflags --libs gio-2.0 364s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 364s build (gio, dynamic): OK 364s + echo build (gio, dynamic): OK 364s + [ -x gio-dynamic ] 364s + foo=bar ./gio-dynamic 364s run (gio, dynamic): OK 364s + echo run (gio, dynamic): OK 364s + cflags= 364s + pcflags= 364s + packages=gio-unix-2.0 364s + pkg-config --cflags --libs gio-unix-2.0 364s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 364s build (gio-unix, dynamic): OK 364s + echo build (gio-unix, dynamic): OK 364s + [ -x gio-unix-dynamic ] 364s + foo=bar ./gio-unix-dynamic 364s + echo run (gio-unix, dynamic): OK 364s run (gio-unix, dynamic): OK 364s + cflags= 364s + pcflags= 364s + packages=gmodule-2.0 364s + pkg-config --cflags --libs gmodule-2.0 364s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 364s build (gmodule, dynamic): OK 364s + echo build (gmodule, dynamic): OK 364s + [ -x gmodule-dynamic ] 364s + foo=bar ./gmodule-dynamic 364s + echo run (gmodule, dynamic): OK 364s run (gmodule, dynamic): OK 364s + cflags= 364s + pcflags= 364s + packages=gthread-2.0 364s + pkg-config --cflags --libs gthread-2.0 364s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 364s + echo build (gthread, dynamic): OK 364s + [ -x gthread-dynamic ] 364s + foo=bar ./gthread-dynamic 364s build (gthread, dynamic): OK 364s + echo run (gthread, dynamic): OK 364s + rm -rf /tmp/tmp.hVcZu9kuxN 364s run (gthread, dynamic): OK 364s + debian/tests/build-static 364s + mode=dynamic 364s + getopt -o --long static -n debian/tests/build -- --static 364s + getopt_temp= --static -- 364s + eval set -- --static -- 364s + set -- --static -- 364s + true 364s + mode=static 364s + shift 364s + continue 364s + true 364s + shift 364s + break 364s + mktemp -d 364s + WORKDIR=/tmp/tmp.ow5i0Nw9OU 364s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 364s + cd /tmp/tmp.ow5i0Nw9OU 364s + [ -n ] 364s + CROSS_COMPILE= 364s + cat 364s + cat 364s + cat 364s + cat 364s + cat 364s + cat 364s + cflags= 364s + pcflags= 364s + packages=glib-2.0 364s + cflags=-static 364s + pcflags=--static 364s + pkg-config --static --cflags --libs glib-2.0 364s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 365s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 365s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s build (glib, static): OK 365s + echo build (glib, static): OK 365s + [ -x glib-static ] 365s + foo=bar ./glib-static 365s + echo run (glib, static): OKrun (glib, static): OK 365s 365s + cflags= 365s + pcflags= 365s + packages=gobject-2.0 365s + cflags=-static 365s + pcflags=--static 365s + pkg-config --static --cflags --libs gobject-2.0 365s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 365s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 365s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s + build (gobject, static): OK 365s echo build (gobject, static): OK 365s + [ -x gobject-static ] 365s + foo=bar ./gobject-static 365s + run (gobject, static): OK 365s echo run (gobject, static): OK 365s + cflags= 365s + pcflags= 365s + packages=gio-2.0 365s + cflags=-static 365s + pcflags=--static 365s + continue 365s + cflags= 365s + pcflags= 365s + packages=gio-unix-2.0 365s + cflags=-static 365s + pcflags=--static 365s + continue 365s + cflags= 365s + pcflags= 365s + packages=gmodule-2.0 365s + cflags=-static 365s + pcflags=--static 365s + pkg-config --static --cflags --libs gmodule-2.0 365s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 365s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 365s (.text+0x5bf): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 365s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s build (gmodule, static): OK 365s + echo build (gmodule, static): OK 365s + [ -x gmodule-static ] 365s + foo=bar ./gmodule-static 365s run (gmodule, static): OK 365s + echo run (gmodule, static): OK 365s + cflags= 365s + pcflags= 365s + packages=gthread-2.0 365s + cflags=-static 365s + pcflags=--static 365s + pkg-config --static --cflags --libs gthread-2.0 365s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 365s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 365s (.text+0xe7): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x32e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s /usr/bin/ld: (.text+0x12c): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 365s build (gthread, static): OK 365s + echo build (gthread, static): OK 365s + [ -x gthread-static ] 365s + foo=bar ./gthread-static 365s run (gthread, static): OK 365s + echo run (gthread, static): OK 365s + rm -rf /tmp/tmp.ow5i0Nw9OU 365s + debian/tests/girepository-tools 365s + cd /tmp/autopkgtest.v9JF9g/autopkgtest_tmp 365s + dpkg-architecture -qDEB_HOST_GNU_TYPE 365s + DEB_HOST_GNU_TYPE=x86_64-linux-gnu 365s + dpkg-architecture -qDEB_HOST_MULTIARCH 365s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 365s + x86_64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 365s typelib: GLib-2.0 365s + x86_64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 365s + x86_64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 365s + debian/tests/libgio-2.0-dev-bin 365s + gdbus-codegen --help 365s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 365s [--c-namespace NAMESPACE] [--c-generate-object-manager] 365s [--c-generate-autocleanup {none,objects,all}] 365s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 365s [--generate-rst OUTFILES] [--pragma-once] 365s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 365s [--glib-min-required VERSION] 365s [--glib-max-allowed VERSION] 365s [--symbol-decorator SYMBOL_DECORATOR] 365s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 365s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 365s [--generate-c-code OUTFILES | --header | --body | 365s --interface-info-header | --interface-info-body] 365s [--output FILE | --output-directory OUTDIR] 365s FILE [FILE ...] 365s 365s D-Bus code and documentation generator 365s 365s positional arguments: 365s FILE D-Bus introspection XML file 365s 365s options: 365s -h, --help show this help message and exit 365s --interface-prefix PREFIX 365s String to strip from D-Bus interface names for code 365s and docs 365s --c-namespace NAMESPACE 365s The namespace to use for generated C code 365s --c-generate-object-manager 365s Generate a GDBusObjectManagerClient subclass when 365s generating C code 365s --c-generate-autocleanup {none,objects,all} 365s Generate autocleanup support 365s --generate-docbook OUTFILES 365s Generate Docbook in OUTFILES-org.Project.IFace.xml 365s --generate-md OUTFILES 365s Generate Markdown in OUTFILES-org.Project.IFace.md 365s --generate-rst OUTFILES 365s Generate reStructuredText in OUTFILES- 365s org.Project.IFace.rst 365s --pragma-once Use "pragma once" as the inclusion guard 365s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 365s Add annotation (may be used several times) 365s --glib-min-required VERSION 365s Minimum version of GLib to be supported by the 365s outputted code (default: 2.30) 365s --glib-max-allowed VERSION 365s Maximum version of GLib to be used by the outputted 365s code (default: current GLib version) 365s --symbol-decorator SYMBOL_DECORATOR 365s Macro used to decorate a symbol in the outputted 365s header, possibly to export symbols 365s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 365s Additional header required for decorator specified by 365s --symbol-decorator 365s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 365s Additional define required for decorator specified by 365s --symbol-decorator 365s --generate-c-code OUTFILES 365s Generate C code in OUTFILES.[ch] 365s --header Generate C headers 365s --body Generate C code 365s --interface-info-header 365s Generate GDBusInterfaceInfo C header 365s --interface-info-body 365s Generate GDBusInterfaceInfo C code 365s --output FILE Write output into the specified file 365s --output-directory OUTDIR 365s Location to output generated files 365s + glib-compile-resources --version 365s 2.84.1 365s + glib-genmarshal --version 365s glib-genmarshal version 2.84.1 365s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 365s You may redistribute copies of glib-genmarshal under the terms of 365s the GNU General Public License which can be found in the 365s GLib source package. Sources, examples and contact 365s information are available at http://www.gtk.org 365s + glib-gettextize --version 365s /usr/bin/glib-gettextize (GNU glib) 2.84.1 365s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 365s This is free software; see the source for copying conditions. There is NO 365s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 365s Written by Ulrich Drepper 365s + glib-mkenums --version 365s glib-mkenums version 2.84.1 365s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 365s You may redistribute copies of glib-mkenums under the terms of 365s the GNU General Public License which can be found in the 365s GLib source package. Sources, examples and contact 365s information are available at http://www.gtk.org 365s + gobject-query tree 365s GObject 365s + gtester --version 365s gtester version 2.84.1 365s + gtester-report --version 365s gtester-report (GLib utils) version 2.84.1. 365s + cd /tmp/autopkgtest.v9JF9g/autopkgtest_tmp 365s + dpkg-architecture -qDEB_HOST_MULTIARCH 365s + DEB_HOST_MULTIARCH=x86_64-linux-gnu 365s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 365s typelib: GLib-2.0 365s + gi-compile-repository -o GLib.typelib /usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir 366s + gi-decompile-typelib -o GLib.gir GLib.typelib 366s autopkgtest [12:22:23]: test libglib2.0-dev: -----------------------] 366s libglib2.0-dev PASS (superficial)autopkgtest [12:22:23]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 366s 367s autopkgtest [12:22:24]: test installed-tests: preparing testbed 424s autopkgtest [12:23:21]: testbed dpkg architecture: amd64 425s autopkgtest [12:23:22]: testbed apt version: 3.0.0 425s autopkgtest [12:23:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 425s autopkgtest [12:23:22]: testbed release detected to be: questing 426s autopkgtest [12:23:23]: updating testbed package index (apt update) 426s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 427s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 427s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 427s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 427s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.3 kB] 427s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1184 kB] 427s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [124 kB] 427s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [179 kB] 427s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [128 kB] 427s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [466 kB] 427s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1271 kB] 427s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [50.7 kB] 427s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [26.5 kB] 427s Fetched 3573 kB in 1s (3291 kB/s) 428s Reading package lists... 429s autopkgtest [12:23:26]: upgrading testbed (apt dist-upgrade and autopurge) 429s Reading package lists... 429s Building dependency tree... 429s Reading state information... 429s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 429s Starting 2 pkgProblemResolver with broken count: 0 429s Done 430s Entering ResolveByKeep 430s 430s Calculating upgrade... 430s The following packages will be upgraded: 430s libmm-glib0 publicsuffix tzdata 430s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 430s Need to get 595 kB of archives. 430s After this operation, 60.4 kB of additional disk space will be used. 430s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 tzdata all 2025b-3ubuntu1 [198 kB] 431s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 publicsuffix all 20250328.1952-0.1 [135 kB] 431s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmm-glib0 amd64 1.24.0-1 [262 kB] 431s Preconfiguring packages ... 431s Fetched 595 kB in 0s (1265 kB/s) 431s (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 ... 80517 files and directories currently installed.) 431s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 431s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 431s Preparing to unpack .../publicsuffix_20250328.1952-0.1_all.deb ... 431s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 431s Preparing to unpack .../libmm-glib0_1.24.0-1_amd64.deb ... 431s Unpacking libmm-glib0:amd64 (1.24.0-1) over (1.23.4-0ubuntu3) ... 431s Setting up tzdata (2025b-3ubuntu1) ... 432s 432s Current default time zone: 'Etc/UTC' 432s Local time is now: Sun May 4 12:23:29 UTC 2025. 432s Universal Time is now: Sun May 4 12:23:29 UTC 2025. 432s Run 'dpkg-reconfigure tzdata' if you wish to change it. 432s 432s Setting up libmm-glib0:amd64 (1.24.0-1) ... 432s Setting up publicsuffix (20250328.1952-0.1) ... 432s Processing triggers for libc-bin (2.41-6ubuntu1) ... 432s Reading package lists... 432s Building dependency tree... 432s Reading state information... 432s Starting pkgProblemResolver with broken count: 0 432s Starting 2 pkgProblemResolver with broken count: 0 432s Done 433s Solving dependencies... 433s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 436s Reading package lists... 436s Building dependency tree... 436s Reading state information... 436s Starting pkgProblemResolver with broken count: 0 436s Starting 2 pkgProblemResolver with broken count: 0 436s Done 436s The following NEW packages will be installed: 436s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 436s gnome-desktop-testing libdrm-intel1 libfontenc1 libgbm1 libgio-2.0-dev-bin 436s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin 436s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 436s libpciaccess0 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 436s libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 436s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 436s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 436s native-architecture python3-dbusmock tzdata-legacy x11-common x11-xkb-utils 436s xserver-common xvfb 437s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 437s Need to get 19.1 MB of archives. 437s After this operation, 90.2 MB of additional disk space will be used. 437s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 dbus-x11 amd64 1.16.2-2ubuntu1 [23.3 kB] 437s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 desktop-file-utils amd64 0.28-1 [54.5 kB] 437s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 gir1.2-glib-2.0-dev amd64 2.84.1-1 [862 kB] 437s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 native-architecture all 0.2.6 [2140 B] 437s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libgirepository-2.0-0 amd64 2.84.1-1 [79.3 kB] 437s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 girepository-tools amd64 2.84.1-1 [116 kB] 437s Get:7 http://ftpmaster.internal/ubuntu questing/universe amd64 gnome-desktop-testing amd64 2021.1-4 [16.8 kB] 437s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 libpciaccess0 amd64 0.17-3build1 [18.6 kB] 437s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 libdrm-intel1 amd64 2.4.124-2 [68.9 kB] 437s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 libfontenc1 amd64 1:1.1.8-1build1 [14.0 kB] 437s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 libwayland-server0 amd64 1.23.1-3 [37.2 kB] 437s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 libx11-xcb1 amd64 2:1.8.10-2 [7944 B] 437s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 libxcb-dri3-0 amd64 1.17.0-2 [7508 B] 437s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 libxcb-present0 amd64 1.17.0-2 [6064 B] 437s Get:15 http://ftpmaster.internal/ubuntu questing/main amd64 libxcb-randr0 amd64 1.17.0-2 [17.9 kB] 437s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 libxcb-sync1 amd64 1.17.0-2 [9312 B] 437s Get:17 http://ftpmaster.internal/ubuntu questing/main amd64 libxcb-xfixes0 amd64 1.17.0-2 [10.2 kB] 437s Get:18 http://ftpmaster.internal/ubuntu questing/main amd64 libxshmfence1 amd64 1.3.3-1 [5262 B] 437s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 mesa-libgallium amd64 25.0.3-1ubuntu2 [12.1 MB] 437s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 libgbm1 amd64 25.0.3-1ubuntu2 [33.4 kB] 437s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 libgio-2.0-dev-bin amd64 2.84.1-1 [129 kB] 437s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 libvulkan1 amd64 1.4.309.0-1 [145 kB] 438s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 libgl1-mesa-dri amd64 25.0.3-1ubuntu2 [35.7 kB] 438s Get:24 http://ftpmaster.internal/ubuntu questing/main amd64 libglib2.0-bin amd64 2.84.1-1 [103 kB] 438s Get:25 http://ftpmaster.internal/ubuntu questing/main amd64 libglib2.0-dev-bin amd64 2.84.1-1 [18.1 kB] 438s Get:26 http://ftpmaster.internal/ubuntu questing/universe amd64 python3-dbusmock all 0.34.3-1 [92.4 kB] 438s Get:27 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 tzdata-legacy all 2025b-3ubuntu1 [99.3 kB] 438s Get:28 http://ftpmaster.internal/ubuntu questing/universe amd64 libglib2.0-tests amd64 2.84.1-1 [2283 kB] 438s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 libxcb-glx0 amd64 1.17.0-2 [24.8 kB] 438s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 libxcb-shm0 amd64 1.17.0-2 [5758 B] 438s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 libxxf86vm1 amd64 1:1.1.4-1build4 [9282 B] 438s Get:32 http://ftpmaster.internal/ubuntu questing/main amd64 libglx-mesa0 amd64 25.0.3-1ubuntu2 [146 kB] 438s Get:33 http://ftpmaster.internal/ubuntu questing/main amd64 x11-common all 1:7.7+23ubuntu4 [21.8 kB] 438s Get:34 http://ftpmaster.internal/ubuntu questing/main amd64 libice6 amd64 2:1.1.1-1 [44.1 kB] 438s Get:35 http://ftpmaster.internal/ubuntu questing/main amd64 libpixman-1-0 amd64 0.44.0-3 [427 kB] 438s Get:36 http://ftpmaster.internal/ubuntu questing/main amd64 libsm6 amd64 2:1.2.4-1 [17.4 kB] 438s Get:37 http://ftpmaster.internal/ubuntu questing/main amd64 libxt6t64 amd64 1:1.2.1-1.2build1 [171 kB] 438s Get:38 http://ftpmaster.internal/ubuntu questing/main amd64 libxmu6 amd64 2:1.1.3-3build2 [47.6 kB] 438s Get:39 http://ftpmaster.internal/ubuntu questing/main amd64 libxpm4 amd64 1:3.5.17-1build2 [36.5 kB] 438s Get:40 http://ftpmaster.internal/ubuntu questing/main amd64 libxaw7 amd64 2:1.0.16-1 [207 kB] 438s Get:41 http://ftpmaster.internal/ubuntu questing/main amd64 libxfont2 amd64 1:2.0.6-1build1 [93.0 kB] 438s Get:42 http://ftpmaster.internal/ubuntu questing/main amd64 libxkbfile1 amd64 1:1.1.0-1build4 [70.0 kB] 438s Get:43 http://ftpmaster.internal/ubuntu questing/main amd64 libxrender1 amd64 1:0.9.10-1.1build1 [19.0 kB] 438s Get:44 http://ftpmaster.internal/ubuntu questing/main amd64 libxrandr2 amd64 2:1.5.4-1 [19.6 kB] 438s Get:45 http://ftpmaster.internal/ubuntu questing/main amd64 x11-xkb-utils amd64 7.7+9 [169 kB] 438s Get:46 http://ftpmaster.internal/ubuntu questing/main amd64 xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB] 438s Get:47 http://ftpmaster.internal/ubuntu questing/main amd64 libglvnd0 amd64 1.7.0-1build1 [69.6 kB] 438s Get:48 http://ftpmaster.internal/ubuntu questing/main amd64 libglx0 amd64 1.7.0-1build1 [38.6 kB] 438s Get:49 http://ftpmaster.internal/ubuntu questing/main amd64 libgl1 amd64 1.7.0-1build1 [102 kB] 438s Get:50 http://ftpmaster.internal/ubuntu questing/universe amd64 xvfb amd64 2:21.1.16-1ubuntu1 [975 kB] 438s Fetched 19.1 MB in 1s (12.8 MB/s) 438s Selecting previously unselected package dbus-x11. 438s (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 ... 80517 files and directories currently installed.) 438s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_amd64.deb ... 438s Unpacking dbus-x11 (1.16.2-2ubuntu1) ... 438s Selecting previously unselected package desktop-file-utils. 438s Preparing to unpack .../01-desktop-file-utils_0.28-1_amd64.deb ... 438s Unpacking desktop-file-utils (0.28-1) ... 438s Selecting previously unselected package gir1.2-glib-2.0-dev:amd64. 438s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.84.1-1_amd64.deb ... 438s Unpacking gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 438s Selecting previously unselected package native-architecture. 438s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 438s Unpacking native-architecture (0.2.6) ... 438s Selecting previously unselected package libgirepository-2.0-0:amd64. 438s Preparing to unpack .../04-libgirepository-2.0-0_2.84.1-1_amd64.deb ... 438s Unpacking libgirepository-2.0-0:amd64 (2.84.1-1) ... 438s Selecting previously unselected package girepository-tools:amd64. 438s Preparing to unpack .../05-girepository-tools_2.84.1-1_amd64.deb ... 438s Unpacking girepository-tools:amd64 (2.84.1-1) ... 438s Selecting previously unselected package gnome-desktop-testing. 438s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_amd64.deb ... 438s Unpacking gnome-desktop-testing (2021.1-4) ... 438s Selecting previously unselected package libpciaccess0:amd64. 438s Preparing to unpack .../07-libpciaccess0_0.17-3build1_amd64.deb ... 438s Unpacking libpciaccess0:amd64 (0.17-3build1) ... 439s Selecting previously unselected package libdrm-intel1:amd64. 439s Preparing to unpack .../08-libdrm-intel1_2.4.124-2_amd64.deb ... 439s Unpacking libdrm-intel1:amd64 (2.4.124-2) ... 439s Selecting previously unselected package libfontenc1:amd64. 439s Preparing to unpack .../09-libfontenc1_1%3a1.1.8-1build1_amd64.deb ... 439s Unpacking libfontenc1:amd64 (1:1.1.8-1build1) ... 439s Selecting previously unselected package libwayland-server0:amd64. 439s Preparing to unpack .../10-libwayland-server0_1.23.1-3_amd64.deb ... 439s Unpacking libwayland-server0:amd64 (1.23.1-3) ... 439s Selecting previously unselected package libx11-xcb1:amd64. 439s Preparing to unpack .../11-libx11-xcb1_2%3a1.8.10-2_amd64.deb ... 439s Unpacking libx11-xcb1:amd64 (2:1.8.10-2) ... 439s Selecting previously unselected package libxcb-dri3-0:amd64. 439s Preparing to unpack .../12-libxcb-dri3-0_1.17.0-2_amd64.deb ... 439s Unpacking libxcb-dri3-0:amd64 (1.17.0-2) ... 439s Selecting previously unselected package libxcb-present0:amd64. 439s Preparing to unpack .../13-libxcb-present0_1.17.0-2_amd64.deb ... 439s Unpacking libxcb-present0:amd64 (1.17.0-2) ... 439s Selecting previously unselected package libxcb-randr0:amd64. 439s Preparing to unpack .../14-libxcb-randr0_1.17.0-2_amd64.deb ... 439s Unpacking libxcb-randr0:amd64 (1.17.0-2) ... 439s Selecting previously unselected package libxcb-sync1:amd64. 439s Preparing to unpack .../15-libxcb-sync1_1.17.0-2_amd64.deb ... 439s Unpacking libxcb-sync1:amd64 (1.17.0-2) ... 439s Selecting previously unselected package libxcb-xfixes0:amd64. 439s Preparing to unpack .../16-libxcb-xfixes0_1.17.0-2_amd64.deb ... 439s Unpacking libxcb-xfixes0:amd64 (1.17.0-2) ... 439s Selecting previously unselected package libxshmfence1:amd64. 439s Preparing to unpack .../17-libxshmfence1_1.3.3-1_amd64.deb ... 439s Unpacking libxshmfence1:amd64 (1.3.3-1) ... 439s Selecting previously unselected package mesa-libgallium:amd64. 439s Preparing to unpack .../18-mesa-libgallium_25.0.3-1ubuntu2_amd64.deb ... 439s Unpacking mesa-libgallium:amd64 (25.0.3-1ubuntu2) ... 439s Selecting previously unselected package libgbm1:amd64. 439s Preparing to unpack .../19-libgbm1_25.0.3-1ubuntu2_amd64.deb ... 439s Unpacking libgbm1:amd64 (25.0.3-1ubuntu2) ... 439s Selecting previously unselected package libgio-2.0-dev-bin. 439s Preparing to unpack .../20-libgio-2.0-dev-bin_2.84.1-1_amd64.deb ... 439s Unpacking libgio-2.0-dev-bin (2.84.1-1) ... 439s Selecting previously unselected package libvulkan1:amd64. 439s Preparing to unpack .../21-libvulkan1_1.4.309.0-1_amd64.deb ... 439s Unpacking libvulkan1:amd64 (1.4.309.0-1) ... 439s Selecting previously unselected package libgl1-mesa-dri:amd64. 439s Preparing to unpack .../22-libgl1-mesa-dri_25.0.3-1ubuntu2_amd64.deb ... 439s Unpacking libgl1-mesa-dri:amd64 (25.0.3-1ubuntu2) ... 439s Selecting previously unselected package libglib2.0-bin. 439s Preparing to unpack .../23-libglib2.0-bin_2.84.1-1_amd64.deb ... 439s Unpacking libglib2.0-bin (2.84.1-1) ... 439s Selecting previously unselected package libglib2.0-dev-bin. 439s Preparing to unpack .../24-libglib2.0-dev-bin_2.84.1-1_amd64.deb ... 439s Unpacking libglib2.0-dev-bin (2.84.1-1) ... 439s Selecting previously unselected package python3-dbusmock. 439s Preparing to unpack .../25-python3-dbusmock_0.34.3-1_all.deb ... 439s Unpacking python3-dbusmock (0.34.3-1) ... 439s Selecting previously unselected package tzdata-legacy. 439s Preparing to unpack .../26-tzdata-legacy_2025b-3ubuntu1_all.deb ... 439s Unpacking tzdata-legacy (2025b-3ubuntu1) ... 439s Selecting previously unselected package libglib2.0-tests. 439s Preparing to unpack .../27-libglib2.0-tests_2.84.1-1_amd64.deb ... 439s Unpacking libglib2.0-tests (2.84.1-1) ... 439s Selecting previously unselected package libxcb-glx0:amd64. 439s Preparing to unpack .../28-libxcb-glx0_1.17.0-2_amd64.deb ... 439s Unpacking libxcb-glx0:amd64 (1.17.0-2) ... 439s Selecting previously unselected package libxcb-shm0:amd64. 439s Preparing to unpack .../29-libxcb-shm0_1.17.0-2_amd64.deb ... 439s Unpacking libxcb-shm0:amd64 (1.17.0-2) ... 439s Selecting previously unselected package libxxf86vm1:amd64. 439s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-1build4_amd64.deb ... 439s Unpacking libxxf86vm1:amd64 (1:1.1.4-1build4) ... 439s Selecting previously unselected package libglx-mesa0:amd64. 439s Preparing to unpack .../31-libglx-mesa0_25.0.3-1ubuntu2_amd64.deb ... 439s Unpacking libglx-mesa0:amd64 (25.0.3-1ubuntu2) ... 440s Selecting previously unselected package x11-common. 440s Preparing to unpack .../32-x11-common_1%3a7.7+23ubuntu4_all.deb ... 440s Unpacking x11-common (1:7.7+23ubuntu4) ... 440s Selecting previously unselected package libice6:amd64. 440s Preparing to unpack .../33-libice6_2%3a1.1.1-1_amd64.deb ... 440s Unpacking libice6:amd64 (2:1.1.1-1) ... 440s Selecting previously unselected package libpixman-1-0:amd64. 440s Preparing to unpack .../34-libpixman-1-0_0.44.0-3_amd64.deb ... 440s Unpacking libpixman-1-0:amd64 (0.44.0-3) ... 440s Selecting previously unselected package libsm6:amd64. 440s Preparing to unpack .../35-libsm6_2%3a1.2.4-1_amd64.deb ... 440s Unpacking libsm6:amd64 (2:1.2.4-1) ... 440s Selecting previously unselected package libxt6t64:amd64. 440s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.2build1_amd64.deb ... 440s Unpacking libxt6t64:amd64 (1:1.2.1-1.2build1) ... 440s Selecting previously unselected package libxmu6:amd64. 440s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3build2_amd64.deb ... 440s Unpacking libxmu6:amd64 (2:1.1.3-3build2) ... 440s Selecting previously unselected package libxpm4:amd64. 440s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build2_amd64.deb ... 440s Unpacking libxpm4:amd64 (1:3.5.17-1build2) ... 440s Selecting previously unselected package libxaw7:amd64. 440s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1_amd64.deb ... 440s Unpacking libxaw7:amd64 (2:1.0.16-1) ... 440s Selecting previously unselected package libxfont2:amd64. 440s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1build1_amd64.deb ... 440s Unpacking libxfont2:amd64 (1:2.0.6-1build1) ... 440s Selecting previously unselected package libxkbfile1:amd64. 440s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build4_amd64.deb ... 440s Unpacking libxkbfile1:amd64 (1:1.1.0-1build4) ... 440s Selecting previously unselected package libxrender1:amd64. 440s Preparing to unpack .../42-libxrender1_1%3a0.9.10-1.1build1_amd64.deb ... 440s Unpacking libxrender1:amd64 (1:0.9.10-1.1build1) ... 440s Selecting previously unselected package libxrandr2:amd64. 440s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1_amd64.deb ... 440s Unpacking libxrandr2:amd64 (2:1.5.4-1) ... 440s Selecting previously unselected package x11-xkb-utils. 440s Preparing to unpack .../44-x11-xkb-utils_7.7+9_amd64.deb ... 440s Unpacking x11-xkb-utils (7.7+9) ... 440s Selecting previously unselected package xserver-common. 440s Preparing to unpack .../45-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ... 440s Unpacking xserver-common (2:21.1.16-1ubuntu1) ... 440s Selecting previously unselected package libglvnd0:amd64. 440s Preparing to unpack .../46-libglvnd0_1.7.0-1build1_amd64.deb ... 440s Unpacking libglvnd0:amd64 (1.7.0-1build1) ... 440s Selecting previously unselected package libglx0:amd64. 440s Preparing to unpack .../47-libglx0_1.7.0-1build1_amd64.deb ... 440s Unpacking libglx0:amd64 (1.7.0-1build1) ... 440s Selecting previously unselected package libgl1:amd64. 440s Preparing to unpack .../48-libgl1_1.7.0-1build1_amd64.deb ... 440s Unpacking libgl1:amd64 (1.7.0-1build1) ... 440s Selecting previously unselected package xvfb. 440s Preparing to unpack .../49-xvfb_2%3a21.1.16-1ubuntu1_amd64.deb ... 440s Unpacking xvfb (2:21.1.16-1ubuntu1) ... 440s Setting up gnome-desktop-testing (2021.1-4) ... 440s Setting up libxcb-dri3-0:amd64 (1.17.0-2) ... 440s Setting up libpixman-1-0:amd64 (0.44.0-3) ... 440s Setting up libwayland-server0:amd64 (1.23.1-3) ... 440s Setting up libx11-xcb1:amd64 (2:1.8.10-2) ... 440s Setting up libpciaccess0:amd64 (0.17-3build1) ... 440s Setting up libgio-2.0-dev-bin (2.84.1-1) ... 440s Setting up native-architecture (0.2.6) ... 440s Setting up libxcb-xfixes0:amd64 (1.17.0-2) ... 440s Setting up desktop-file-utils (0.28-1) ... 440s Setting up libxpm4:amd64 (1:3.5.17-1build2) ... 440s Setting up libxrender1:amd64 (1:0.9.10-1.1build1) ... 440s Setting up libgirepository-2.0-0:amd64 (2.84.1-1) ... 440s Setting up libglvnd0:amd64 (1.7.0-1build1) ... 440s Setting up libxcb-glx0:amd64 (1.17.0-2) ... 440s Setting up libdrm-intel1:amd64 (2.4.124-2) ... 440s Setting up x11-common (1:7.7+23ubuntu4) ... 441s Setting up libglib2.0-bin (2.84.1-1) ... 441s Setting up libxcb-shm0:amd64 (1.17.0-2) ... 441s Setting up python3-dbusmock (0.34.3-1) ... 441s Setting up tzdata-legacy (2025b-3ubuntu1) ... 441s Setting up libxxf86vm1:amd64 (1:1.1.4-1build4) ... 441s Setting up libxcb-present0:amd64 (1.17.0-2) ... 441s Setting up libfontenc1:amd64 (1:1.1.8-1build1) ... 441s Setting up libxcb-sync1:amd64 (1.17.0-2) ... 441s Setting up libxrandr2:amd64 (2:1.5.4-1) ... 441s Setting up libvulkan1:amd64 (1.4.309.0-1) ... 441s Setting up gir1.2-glib-2.0-dev:amd64 (2.84.1-1) ... 441s Setting up libxshmfence1:amd64 (1.3.3-1) ... 441s Setting up dbus-x11 (1.16.2-2ubuntu1) ... 441s Setting up libxcb-randr0:amd64 (1.17.0-2) ... 441s Setting up libxkbfile1:amd64 (1:1.1.0-1build4) ... 441s Setting up libxfont2:amd64 (1:2.0.6-1build1) ... 441s Setting up libice6:amd64 (2:1.1.1-1) ... 441s Setting up mesa-libgallium:amd64 (25.0.3-1ubuntu2) ... 441s Setting up girepository-tools:amd64 (2.84.1-1) ... 441s Setting up libgbm1:amd64 (25.0.3-1ubuntu2) ... 441s Setting up libgl1-mesa-dri:amd64 (25.0.3-1ubuntu2) ... 441s Setting up libsm6:amd64 (2:1.2.4-1) ... 441s Setting up libglib2.0-dev-bin (2.84.1-1) ... 441s Setting up libglx-mesa0:amd64 (25.0.3-1ubuntu2) ... 441s Setting up libglx0:amd64 (1.7.0-1build1) ... 441s Setting up libgl1:amd64 (1.7.0-1build1) ... 441s Setting up libxt6t64:amd64 (1:1.2.1-1.2build1) ... 441s Setting up libglib2.0-tests (2.84.1-1) ... 441s Setting up libxmu6:amd64 (2:1.1.3-3build2) ... 441s Setting up libxaw7:amd64 (2:1.0.16-1) ... 441s Setting up x11-xkb-utils (7.7+9) ... 441s Setting up xserver-common (2:21.1.16-1ubuntu1) ... 441s Setting up xvfb (2:21.1.16-1ubuntu1) ... 441s Processing triggers for man-db (2.13.0-1) ... 442s Processing triggers for libc-bin (2.41-6ubuntu1) ... 448s autopkgtest [12:23:45]: test installed-tests: [----------------------- 448s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 448s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 448s group entry: ubuntu:x:1000: 448s Environment: 448s ADTTMP=/tmp/autopkgtest.v9JF9g/autopkgtest_tmp 448s ADT_ARTIFACTS=/tmp/autopkgtest.v9JF9g/installed-tests-artifacts 448s ADT_TEST_TRIGGERS=tzdata/2025b-3ubuntu1 448s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.v9JF9g/installed-tests-artifacts 448s AUTOPKGTEST_TESTBED_ARCH=amd64 448s AUTOPKGTEST_TEST_ARCH=amd64 448s AUTOPKGTEST_TMP=/tmp/autopkgtest.v9JF9g/autopkgtest_tmp 448s DEBIAN_FRONTEND=noninteractive 448s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 448s DEB_BUILD_OPTIONS=parallel=2 448s GIO_USE_VFS=local 448s GIO_USE_VOLUME_MONITOR=unix 448s HOME=/home/ubuntu 448s LANG=C.UTF-8 448s LOGNAME=ubuntu 448s MAIL=/var/mail/ubuntu 448s OLDPWD=/home/ubuntu 448s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 448s PWD=/tmp/autopkgtest.v9JF9g/build.z0V/src 448s SHELL=/bin/bash 448s SHLVL=1 448s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.v9JF9g/wrapper.sh --artifacts=/tmp/autopkgtest.v9JF9g/installed-tests-artifacts --chdir=/tmp/autopkgtest.v9JF9g/build.z0V/src --env=AUTOPKGTEST_TESTBED_ARCH=amd64 --env=AUTOPKGTEST_TEST_ARCH=amd64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.v9JF9g/installed-tests-stderr --stdout=/tmp/autopkgtest.v9JF9g/installed-tests-stdout --tmp=/tmp/autopkgtest.v9JF9g/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=tzdata/2025b-3ubuntu1 --make-executable=/tmp/autopkgtest.v9JF9g/build.z0V/src/debian/tests/installed-tests -- /tmp/autopkgtest.v9JF9g/build.z0V/src/debian/tests/installed-tests 448s SUDO_GID=1000 448s SUDO_HOME=/home/ubuntu 448s SUDO_UID=1000 448s SUDO_USER=ubuntu 448s TERM=linux 448s USER=ubuntu 448s XDG_RUNTIME_DIR=/tmp/autopkgtest.v9JF9g/autopkgtest_tmp 448s http_proxy=http://squid.internal:3128/ 448s https_proxy=http://squid.internal:3128/ 448s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net 448s run-with-locales: de_DE=ISO-8859-1... 448s Character set: ISO-8859-1 448s Source file: de_DE 448s Output: /tmp/tmp.0rM6b8I6uV/de_DE 449s run-with-locales: de_DE.utf8... 449s Character set: UTF-8 449s Source file: de_DE 449s Output: /tmp/tmp.0rM6b8I6uV/de_DE.utf8 450s run-with-locales: de_DE@euro.utf8... 450s Character set: UTF-8 450s Source file: de_DE@euro 450s Output: /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8 451s run-with-locales: el_GR.utf8... 451s Character set: UTF-8 451s Source file: el_GR 451s Output: /tmp/tmp.0rM6b8I6uV/el_GR.utf8 453s run-with-locales: en_GB=ISO-8859-1... 453s Character set: ISO-8859-1 453s Source file: en_GB 453s Output: /tmp/tmp.0rM6b8I6uV/en_GB 453s run-with-locales: en_GB.utf8... 453s Character set: UTF-8 453s Source file: en_GB 453s Output: /tmp/tmp.0rM6b8I6uV/en_GB.utf8 454s run-with-locales: en_US=ISO-8859-1... 454s Character set: ISO-8859-1 454s Source file: en_US 454s Output: /tmp/tmp.0rM6b8I6uV/en_US 455s run-with-locales: en_US.utf8... 455s Character set: UTF-8 455s Source file: en_US 455s Output: /tmp/tmp.0rM6b8I6uV/en_US.utf8 456s run-with-locales: es_ES.utf8... 456s Character set: UTF-8 456s Source file: es_ES 456s Output: /tmp/tmp.0rM6b8I6uV/es_ES.utf8 457s run-with-locales: fa_IR=UTF-8... 457s Character set: UTF-8 457s Source file: fa_IR 457s Output: /tmp/tmp.0rM6b8I6uV/fa_IR 458s run-with-locales: fa_IR.utf8... 458s Character set: UTF-8 458s Source file: fa_IR 458s Output: /tmp/tmp.0rM6b8I6uV/fa_IR.utf8 460s run-with-locales: fr_FR.utf8... 460s Character set: UTF-8 460s Source file: fr_FR 460s Output: /tmp/tmp.0rM6b8I6uV/fr_FR.utf8 461s run-with-locales: hr_HR.utf8... 461s Character set: UTF-8 461s Source file: hr_HR 461s Output: /tmp/tmp.0rM6b8I6uV/hr_HR.utf8 462s run-with-locales: ja_JP.utf8... 462s Character set: UTF-8 462s Source file: ja_JP 462s Output: /tmp/tmp.0rM6b8I6uV/ja_JP.utf8 463s run-with-locales: ja_JP.EUC-JP... 463s Character set: EUC-JP 463s Source file: ja_JP 463s Output: /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp 463s run-with-locales: lt_LT.utf8... 464s Character set: UTF-8 464s Source file: lt_LT 464s Output: /tmp/tmp.0rM6b8I6uV/lt_LT.utf8 465s run-with-locales: pl_PL=ISO-8859-2... 465s Character set: ISO-8859-2 465s Source file: pl_PL 465s Output: /tmp/tmp.0rM6b8I6uV/pl_PL 465s run-with-locales: pl_PL.ISO-8859-2... 465s Character set: ISO-8859-2 465s Source file: pl_PL 465s Output: /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592 465s run-with-locales: pl_PL.utf8... 465s Character set: UTF-8 465s Source file: pl_PL 465s Output: /tmp/tmp.0rM6b8I6uV/pl_PL.utf8 467s run-with-locales: ru_RU=ISO-8859-5... 467s Character set: ISO-8859-5 467s Source file: ru_RU 467s Output: /tmp/tmp.0rM6b8I6uV/ru_RU 467s run-with-locales: ru_RU.utf8... 467s Character set: UTF-8 467s Source file: ru_RU 467s Output: /tmp/tmp.0rM6b8I6uV/ru_RU.utf8 468s run-with-locales: sr_RS=UTF-8... 468s Character set: UTF-8 468s Source file: sr_RS 468s Output: /tmp/tmp.0rM6b8I6uV/sr_RS 470s run-with-locales: sr_RS@latin=UTF-8... 470s Character set: UTF-8 470s Source file: sr_RS@latin 470s Output: /tmp/tmp.0rM6b8I6uV/sr_RS@latin 471s run-with-locales: sv_SE=ISO-8859-1... 471s Character set: ISO-8859-1 471s Source file: sv_SE 471s Output: /tmp/tmp.0rM6b8I6uV/sv_SE 471s run-with-locales: sv_SE.utf8... 471s Character set: UTF-8 471s Source file: sv_SE 471s Output: /tmp/tmp.0rM6b8I6uV/sv_SE.utf8 472s run-with-locales: tr_TR=ISO-8859-9... 472s Character set: ISO-8859-9 472s Source file: tr_TR 472s Output: /tmp/tmp.0rM6b8I6uV/tr_TR 473s run-with-locales: tr_TR.utf8... 473s Character set: UTF-8 473s Source file: tr_TR 473s Output: /tmp/tmp.0rM6b8I6uV/tr_TR.utf8 474s run-with-locales: tt_RU=UTF-8... 474s Character set: UTF-8 474s Source file: tt_RU 474s Output: /tmp/tmp.0rM6b8I6uV/tt_RU 475s run-with-locales: tt_RU.utf8... 475s Character set: UTF-8 475s Source file: tt_RU 475s Output: /tmp/tmp.0rM6b8I6uV/tt_RU.utf8 477s run-with-locales: tt_RU@iqtelif=UTF-8... 477s Character set: UTF-8 477s Source file: tt_RU@iqtelif 477s Output: /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif 478s 1..323 478s # Running test: glib/convert.test 478s /tmp/tmp.0rM6b8I6uV 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tr_TR 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_US 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_US/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sr_RS 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/pl_PL 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/fa_IR 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sv_SE 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ru_RU 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/de_DE 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tt_RU 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_GB 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_ADDRESS 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_TELEPHONE 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_PAPER 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_NAME 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_MONETARY 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_COLLATE 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_NUMERIC 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_CTYPE 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_MEASUREMENT 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_IDENTIFICATION 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_TIME 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_MESSAGES 478s /tmp/tmp.0rM6b8I6uV/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 478s TAP version 14 478s # random seed: R02Sec8ff4385a0c106e91877a7c25401ca0 478s 1..14 478s # Start of conversion tests 478s ok 1 /conversion/no-conv 478s ok 2 /conversion/iconv-state 478s ok 3 /conversion/illegal-sequence 478s ok 4 /conversion/byte-order 478s ok 5 /conversion/unicode 478s ok 6 /conversion/filename-utf8 478s ok 7 /conversion/filename-display 478s ok 8 /conversion/convert-embedded-nul 478s # Start of locale-to-utf8 tests 478s ok 9 /conversion/locale-to-utf8/embedded-nul 478s # Start of embedded-nul tests 478s # Start of subprocess tests 478s # End of subprocess tests 478s # End of embedded-nul tests 478s # End of locale-to-utf8 tests 478s # Start of locale-from-utf8 tests 478s ok 10 /conversion/locale-from-utf8/embedded-nul 478s # Start of embedded-nul tests 478s # Start of subprocess tests 478s # End of subprocess tests 478s # End of embedded-nul tests 478s # End of locale-from-utf8 tests 478s # Start of filename-to-utf8 tests 478s ok 11 /conversion/filename-to-utf8/embedded-nul 478s # Start of embedded-nul tests 478s # Start of subprocess tests 478s # End of subprocess tests 478s # End of embedded-nul tests 478s # End of filename-to-utf8 tests 478s # Start of filename-from-utf8 tests 478s ok 12 /conversion/filename-from-utf8/embedded-nul 478s # Start of embedded-nul tests 478s # Start of subprocess tests 478s # End of subprocess tests 478s # End of embedded-nul tests 478s # End of filename-from-utf8 tests 478s # Start of filename-from-uri tests 478s ok 13 /conversion/filename-from-uri/query-is-ignored 478s ok 14 /conversion/filename-from-uri/fragment-is-ignored 478s # End of filename-from-uri tests 478s # End of conversion tests 478s ok - glib/convert.test 478s # Running test: glib/sequence.test 478s TAP version 14 478s # random seed: R02S743d4ee06b13a62b90293236c65a7fca 478s 1..16 478s # Start of sequence tests 478s ok 1 /sequence/out-of-range-jump 478s ok 2 /sequence/iter-move 478s ok 3 /sequence/insert-sorted-non-pointer 478s ok 4 /sequence/stable-sort 478s ok 5 /sequence/is_empty 478s # Start of random tests 479s ok 6 /sequence/random/seed:825541564 479s # slow test /sequence/random/seed:825541564 executed in 0.52 secs 479s ok 7 /sequence/random/seed:801678400 480s ok 8 /sequence/random/seed:1477639090 480s # slow test /sequence/random/seed:1477639090 executed in 0.50 secs 480s ok 9 /sequence/random/seed:3369132895 481s ok 10 /sequence/random/seed:1192944867 481s ok 11 /sequence/random/seed:770458294 482s ok 12 /sequence/random/seed:1099575817 482s ok 13 /sequence/random/seed:590523467 483s ok 14 /sequence/random/seed:3583571454 483s # slow test /sequence/random/seed:3583571454 executed in 0.51 secs 483s ok 15 /sequence/random/seed:579241222 483s # Executing: glib/sequence.test 484s ok 16 /sequence/random/seed:127343788 484s # slow test /sequence/random/seed:127343788 executed in 0.50 secs 484s # End of random tests 484s # End of sequence tests 484s ok - glib/sequence.test 484s # Running test: glib/repository-search-paths.test 484s TAP version 14 484s # random seed: R02Sf028cf83b8a4b600e05ac708c9792257 484s 1..4 484s # Start of repository tests 484s # Start of search-paths tests 484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/home 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/cache 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/system-config2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/config 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/system-data2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/data 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/state 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/default/.dirs/runtime 484s ok - glib/repository-search-paths.test 484s # Running test: glib/threadtests.test 484s ok 1 /repository/search-paths/default 484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/home 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/cache 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/system-config2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/config 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/system-data2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/data 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/state 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IS8Z52/repository/search-paths/prepend/.dirs/runtime 484s ok 2 /repository/search-paths/prepend 484s # End of search-paths tests 484s # Start of library-paths tests 484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/home 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/cache 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/system-config2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/config 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/system-data2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/data 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/state 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/default/.dirs/runtime 484s ok 3 /repository/library-paths/default 484s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/home 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/cache 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/system-config2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/config 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/system-data2 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/data 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/state 484s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_IS8Z52/repository/library-paths/prepend/.dirs/runtime 484s ok 4 /repository/library-paths/prepend 484s # End of library-paths tests 484s # End of repository tests 484s TAP version 14 484s # random seed: R02Sc240b759426e57ed75011288dadbc883 484s 1..5 484s # Start of GObject tests 484s ok 1 /GObject/threaded-object-init 485s ok 2 /GObject/threaded-weak-ref 485s # slow test /GObject/threaded-weak-ref executed in 0.87 secs 485s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 485s # /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 485s ok 3 /GObject/threaded-toggle-notify 485s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 485s # Start of threaded-weak-ref tests 485s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 485s # /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. 485s ok 5 /GObject/threaded-weak-ref/on-finalization 485s # End of threaded-weak-ref tests 485s # End of GObject tests 485s ok - glib/threadtests.test 485s # Running test: glib/override.test 485s ok - glib/override.test 485s # Running test: glib/hook.test 485s ok - glib/hook.test 485s # Running test: glib/fileutils.test 485s TAP version 14 485s # random seed: R02Sb395289c6f522fc8aa4b878a2db948bb 485s 1..1 485s # Start of gobject tests 485s # *** emitting foo on a TestA instance 485s # Expecting: TestA::foo,TestI::foo 485s # Got: TestA::foo,TestI::foo 485s # *** emitting bar on a TestA instance 485s # Expecting: TestA::bar 485s # Got: TestA::bar 485s # *** emitting baz on a TestA instance 485s # Expecting: TestA::baz 485s # Got: TestA::baz 485s # *** emitting foo on a TestB instance 485s # Expecting: TestB::foo,TestA::foo,TestI::foo 485s # Got: TestB::foo,TestA::foo,TestI::foo 485s # *** emitting bar on a TestB instance 485s # Expecting: TestB::bar,TestA::bar 485s # Got: TestB::bar,TestA::bar 485s # *** emitting baz on a TestB instance 485s # Expecting: TestB::baz,TestA::baz 485s # Got: TestB::baz,TestA::baz 485s # *** emitting foo on a TestC instance 485s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 485s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 485s # *** emitting bar on a TestC instance 485s # Expecting: TestC::bar,TestB::bar,TestA::bar 485s # Got: TestC::bar,TestB::bar,TestA::bar 485s # *** emitting baz on a TestC instance 485s # Expecting: TestC::baz,TestB::baz,TestA::baz 485s # Got: TestC::baz,TestB::baz,TestA::baz 485s ok 1 /gobject/override 485s # End of gobject tests 485s TAP version 14 485s # random seed: R02Sd14fae3fa1607d54cc0c748cacb3bb87 485s 1..2 485s # Start of hook tests 485s ok 1 /hook/basics 485s ok 2 /hook/corner-cases 485s # End of hook tests 485s TAP version 14 485s # random seed: R02Sefde1b288a0a74bfe02eb03220fa43e1 485s 1..27 485s # Start of fileutils tests 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/paths/.dirs/runtime 485s ok 1 /fileutils/paths 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/build-path/.dirs/runtime 485s ok 2 /fileutils/build-path 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/build-pathv/.dirs/runtime 485s ok 3 /fileutils/build-pathv 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/build-filename/.dirs/runtime 485s ok 4 /fileutils/build-filename 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/build-filenamev/.dirs/runtime 485s ok 5 /fileutils/build-filenamev 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents/.dirs/runtime 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # Checking g_mkdir_with_parents() in subdir ./hum/ 485s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 485s ok 6 /fileutils/mkdir-with-parents 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/mkdir-with-parents-permission/.dirs/runtime 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s ok 7 /fileutils/mkdir-with-parents-permission 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/format-size-for-display/.dirs/runtime 485s ok 8 /fileutils/format-size-for-display 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/errors/.dirs/runtime 485s ok 9 /fileutils/errors 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/basename/.dirs/runtime 485s ok 10 /fileutils/basename 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/get-basename/.dirs/runtime 485s ok 11 /fileutils/get-basename 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/dirname/.dirs/runtime 485s ok 12 /fileutils/dirname 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/dir-make-tmp/.dirs/runtime 485s ok 13 /fileutils/dir-make-tmp 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/file-open-tmp/.dirs/runtime 485s ok 14 /fileutils/file-open-tmp 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/file-test/.dirs/runtime 485s ok 15 /fileutils/file-test 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/mkstemp/.dirs/runtime 485s ok 16 /fileutils/mkstemp 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/mkdtemp/.dirs/runtime 485s ok 17 /fileutils/mkdtemp 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/config 485s ok - glib/fileutils.test 485s # Running test: glib/credentials.test 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/get-contents/.dirs/runtime 485s ok 18 /fileutils/get-contents 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/get-contents-large-file/.dirs/runtime 485s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/set-contents/.dirs/runtime 485s ok 20 /fileutils/set-contents 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/.dirs/runtime 485s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 485s # Flags 0 and test 0 485s # Flags 0 and test 1 485s # Flags 0 and test 2 485s # Flags 0 and test 3 485s # Flags 0 and test 4 485s # Flags 0 and test 5 485s # Flags 1 and test 0 485s # Flags 1 and test 1 485s # Flags 1 and test 2 485s # Flags 1 and test 3 485s # Flags 1 and test 4 485s # Flags 1 and test 5 485s # Flags 2 and test 0 485s # Flags 2 and test 1 485s # Flags 2 and test 2 485s # Flags 2 and test 3 485s # Flags 2 and test 4 485s # Flags 2 and test 5 485s # Flags 3 and test 0 485s # Flags 3 and test 1 485s # Flags 3 and test 2 485s # Flags 3 and test 3 485s # Flags 3 and test 4 485s # Flags 3 and test 5 485s # Flags 4 and test 0 485s # Flags 4 and test 1 485s # Flags 4 and test 2 485s # Flags 4 and test 3 485s # Flags 4 and test 4 485s # Flags 4 and test 5 485s # Flags 5 and test 0 485s # Flags 5 and test 1 485s # Flags 5 and test 2 485s # Flags 5 and test 3 485s # Flags 5 and test 4 485s # Flags 5 and test 5 485s # Flags 6 and test 0 485s # Flags 6 and test 1 485s # Flags 6 and test 2 485s # Flags 6 and test 3 485s # Flags 6 and test 4 485s # Flags 6 and test 5 485s ok 21 /fileutils/set-contents-full 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/read-link/.dirs/runtime 485s ok 22 /fileutils/read-link 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/stdio-wrappers/.dirs/runtime 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s ok 23 /fileutils/stdio-wrappers 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/fopen-modes/.dirs/runtime 485s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 485s # Testing fopen() mode 'w' 485s # Testing fopen() mode 'r' 485s # Testing fopen() mode 'a' 485s # Testing fopen() mode 'w+' 485s # Testing fopen() mode 'r+' 485s # Testing fopen() mode 'a+' 485s # Testing fopen() mode 'wb' 485s # Testing fopen() mode 'rb' 485s # Testing fopen() mode 'ab' 485s # Testing fopen() mode 'w+b' 485s # Testing fopen() mode 'r+b' 485s # Testing fopen() mode 'a+b' 485s # Testing fopen() mode 'wb+' 485s # Testing fopen() mode 'rb+' 485s # Testing fopen() mode 'ab+' 485s ok 24 /fileutils/fopen-modes 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/clear-fd/.dirs/runtime 485s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 485s # Will be closed by autocleanup: 3, -42 485s # Testing error handling 485s ok 25 /fileutils/clear-fd 485s # Start of set-contents-full tests 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-file/.dirs/runtime 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 485s ok 26 /fileutils/set-contents-full/read-only-file 485s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/home 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/cache 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/config 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/data 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/state 485s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_2QLX52/fileutils/set-contents-full/read-only-directory/.dirs/runtime 485s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 485s # Flags 0 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # Flags 1 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # Flags 2 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # Flags 3 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # Flags 4 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # Flags 5 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s # Flags 6 485s # We do not have CAP_DAC_OVERRIDE or equivalent 485s ok 27 /fileutils/set-contents-full/read-only-directory 485s # End of set-contents-full tests 485s # Start of clear-fd tests 485s # Start of subprocess tests 485s # End of subprocess tests 485s # End of clear-fd tests 485s # End of fileutils tests 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52/glib-file-set-contents-full-rodir-VT4W52: Directory not empty 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52/glib-file-set-contents-full-rodir-352W52: Directory not empty 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52/glib-file-set-contents-full-rodir-CB1W52: Directory not empty 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52/glib-file-set-contents-full-rodir-XC5W52: Directory not empty 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52/glib-file-set-contents-full-rodir-I66W52: Directory not empty 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52/glib-file-set-contents-full-rodir-6XVW52: Directory not empty 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52/glib-file-set-contents-full-rodir-1L8U52: Directory not empty 485s Unable to clean up temporary directory /tmp/test_fileutils_2QLX52: Directory not empty 485s TAP version 14 485s # random seed: R02S895fbb756beb7b05868b18561e93a2a6 485s 1..1 485s # Start of credentials tests 485s # GCredentials:linux-ucred:pid=7407,uid=1000,gid=1000 485s # GCredentials:linux-ucred:pid=7407,uid=0,gid=1000 485s ok 1 /credentials/basic 485s # End of credentials tests 485s ok - glib/credentials.test 485s # Running test: glib/thread-pool-slow.test 485s TAP version 14 485s # random seed: R02S223d5d4d3279e8cade684f68a2d82057 485s 1..7 485s # Start of threadpool tests 485s ok 1 /threadpool/functions 485s ok 2 /threadpool/stop-unused 485s # slow test /threadpool/stop-unused executed in 0.51 secs 485s ok 3 /threadpool/pools 485s # [unsorted] ===> pushed new thread with id:77, number of threads:1, unprocessed:1 485s # [unsorted] ===> pushed new thread with id:55, number of threads:2, unprocessed:2 485s # [unsorted] ===> pushed new thread with id:34, number of threads:3, unprocessed:3 485s # [unsorted] ===> pushed new thread with id:56, number of threads:4, unprocessed:4 485s # [unsorted] ===> pushed new thread with id:63, number of threads:5, unprocessed:5 485s # [unsorted] ===> pushed new thread with id:14, number of threads:6, unprocessed:6 485s # [unsorted] ===> pushed new thread with id:24, number of threads:7, unprocessed:7 485s # [unsorted] ===> pushed new thread with id:14, number of threads:8, unprocessed:8 485s # [unsorted] ===> pushed new thread with id:74, number of threads:9, unprocessed:9 485s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:8 485s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:7 485s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:8 485s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:9 485s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:10 485s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:11 485s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:12 485s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:13 485s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:14 485s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:15 485s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:16 485s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:17 485s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:18 485s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:19 485s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:20 485s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:20 485s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:20 485s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:21 485s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:22 485s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:23 485s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:24 485s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:25 485s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:26 485s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:27 485s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:28 485s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:29 485s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:30 485s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:31 485s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:32 485s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:33 485s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:34 485s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:35 485s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:36 485s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:37 485s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:38 485s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:39 485s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:40 485s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:41 485s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:42 485s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:43 485s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:44 485s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:45 485s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:46 485s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:47 485s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:48 485s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:49 485s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:50 485s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:51 485s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:52 485s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:53 485s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:54 485s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:55 485s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:56 485s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:57 485s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:58 485s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:59 485s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:60 485s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:61 485s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:62 485s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:63 485s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:64 485s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:65 485s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:66 485s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:67 485s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:68 485s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:69 485s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:70 485s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:71 485s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:72 485s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:73 485s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:74 485s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:75 485s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:76 485s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:77 485s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:78 485s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:79 485s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:80 485s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:81 485s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:82 485s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:82 485s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:83 485s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:83 485s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:82 485s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:83 485s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:84 485s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:85 485s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:86 485s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:87 485s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:88 485s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:89 485s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:90 485s ok 4 /threadpool/no-sort 485s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:1 485s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:2 485s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:3 485s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:4 485s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:5 485s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:6 485s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:7 485s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:8 485s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:9 485s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:10 485s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:11 485s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:12 485s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:13 485s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:14 485s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:15 485s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:16 485s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:17 485s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:18 485s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:19 485s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:20 485s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:21 485s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:22 485s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:23 485s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:24 485s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:25 485s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:26 485s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:27 485s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:28 485s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:29 485s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:30 485s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:31 485s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:32 485s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:33 485s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:34 485s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:35 485s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:36 485s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:37 485s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:38 485s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:39 485s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:40 485s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:41 485s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:42 485s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:43 485s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:44 485s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:45 485s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:46 485s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:47 485s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:48 485s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:49 485s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:50 485s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:51 485s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:52 485s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:53 485s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:54 485s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:55 485s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:56 485s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:57 485s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:58 485s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:59 485s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:60 485s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:61 485s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:62 485s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:63 485s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:64 485s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:65 485s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:66 485s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:67 485s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:68 485s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:69 485s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:70 485s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:71 485s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:72 485s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:73 485s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:74 485s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:75 485s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:76 485s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:77 485s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:78 485s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:79 485s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:80 485s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:81 485s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:82 485s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:83 485s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:84 485s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:85 485s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:86 485s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:87 485s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:88 485s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:89 485s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:90 485s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:91 485s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:92 485s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:93 485s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:94 485s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:95 485s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:96 485s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:97 485s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:98 485s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:99 485s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:100 485s # Starting thread pool processing 485s ok 5 /threadpool/sort 486s ok 6 /threadpool/stop-unused-multiple 486s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 486s # Pool idle thread count: 0, unprocessed jobs: 47 486s # Pool idle thread count: 0, unprocessed jobs: 0 486s # Pool idle thread count: 0, unprocessed jobs: 0 487s # Pool idle thread count: 10, unprocessed jobs: 0 487s # Pool idle thread count: 10, unprocessed jobs: 0 487s # Pool idle thread count: 10, unprocessed jobs: 0 487s # Pool idle thread count: 10, unprocessed jobs: 0 488s # Pool idle thread count: 10, unprocessed jobs: 0 488s # Pool idle thread count: 10, unprocessed jobs: 0 488s # Pool idle thread count: 10, unprocessed jobs: 0 488s # Pool idle thread count: 10, unprocessed jobs: 0 488s # Executing: glib/thread-pool-slow.test 489s # Pool idle thread count: 10, unprocessed jobs: 0 489s # Pool idle thread count: 10, unprocessed jobs: 0 489s # Pool idle thread count: 10, unprocessed jobs: 0 489s # Pool idle thread count: 10, unprocessed jobs: 0 490s # Pool idle thread count: 10, unprocessed jobs: 0 490s # Pool idle thread count: 10, unprocessed jobs: 0 490s # Pool idle thread count: 10, unprocessed jobs: 0 490s # Pool idle thread count: 10, unprocessed jobs: 0 491s # Pool idle thread count: 10, unprocessed jobs: 0 491s # Pool idle thread count: 10, unprocessed jobs: 0 491s # Pool idle thread count: 10, unprocessed jobs: 0 491s # Pool idle thread count: 10, unprocessed jobs: 0 492s # Pool idle thread count: 10, unprocessed jobs: 0 492s # Pool idle thread count: 10, unprocessed jobs: 0 492s # Pool idle thread count: 10, unprocessed jobs: 0 492s # Pool idle thread count: 10, unprocessed jobs: 0 493s # Pool idle thread count: 10, unprocessed jobs: 0 493s # Pool idle thread count: 10, unprocessed jobs: 0 493s # Pool idle thread count: 10, unprocessed jobs: 0 493s # Pool idle thread count: 10, unprocessed jobs: 0 493s # Executing: glib/thread-pool-slow.test 494s # Pool idle thread count: 10, unprocessed jobs: 0 494s # Pool idle thread count: 10, unprocessed jobs: 0 494s # Pool idle thread count: 10, unprocessed jobs: 0 494s # Pool idle thread count: 10, unprocessed jobs: 0 495s # Pool idle thread count: 10, unprocessed jobs: 2 495s # Pool idle thread count: 10, unprocessed jobs: 2 495s # Pool idle thread count: 8, unprocessed jobs: 0 495s # Pool idle thread count: 8, unprocessed jobs: 0 495s # Pool idle thread count: 10, unprocessed jobs: 0 495s # Pool idle thread count: 10, unprocessed jobs: 0 496s # Pool idle thread count: 10, unprocessed jobs: 0 496s # Pool idle thread count: 10, unprocessed jobs: 0 496s # Pool idle thread count: 10, unprocessed jobs: 0 496s # Pool idle thread count: 10, unprocessed jobs: 0 497s # Pool idle thread count: 2, unprocessed jobs: 0 497s # Pool idle thread count: 2, unprocessed jobs: 0 497s # Pool idle thread count: 2, unprocessed jobs: 0 497s # Pool idle thread count: 2, unprocessed jobs: 0 498s # Pool idle thread count: 2, unprocessed jobs: 0 498s # Pool idle thread count: 2, unprocessed jobs: 0 498s # Pool idle thread count: 2, unprocessed jobs: 0 498s # Pool idle thread count: 2, unprocessed jobs: 0 498s # Executing: glib/thread-pool-slow.test 499s # Pool idle thread count: 2, unprocessed jobs: 0 499s # Pool idle thread count: 2, unprocessed jobs: 0 499s # Pool idle thread count: 2, unprocessed jobs: 0 499s # Pool idle thread count: 2, unprocessed jobs: 0 500s # Pool idle thread count: 2, unprocessed jobs: 0 500s # Pool idle thread count: 2, unprocessed jobs: 0 500s # Pool idle thread count: 2, unprocessed jobs: 0 500s # Pool idle thread count: 2, unprocessed jobs: 0 501s # Pool idle thread count: 2, unprocessed jobs: 0 501s # Pool idle thread count: 2, unprocessed jobs: 0 501s # Pool idle thread count: 2, unprocessed jobs: 0 501s # Pool idle thread count: 2, unprocessed jobs: 0 502s # Pool idle thread count: 2, unprocessed jobs: 0 502s # Pool idle thread count: 2, unprocessed jobs: 0 502s # Pool idle thread count: 2, unprocessed jobs: 0 502s # Pool idle thread count: 2, unprocessed jobs: 0 503s # Pool idle thread count: 2, unprocessed jobs: 0 503s # Pool idle thread count: 2, unprocessed jobs: 0 503s # Pool idle thread count: 2, unprocessed jobs: 0 503s # Pool idle thread count: 2, unprocessed jobs: 0 503s # Executing: glib/thread-pool-slow.test 504s # Pool idle thread count: 2, unprocessed jobs: 0 504s # Pool idle thread count: 2, unprocessed jobs: 0 504s # Pool idle thread count: 2, unprocessed jobs: 0 504s # Pool idle thread count: 2, unprocessed jobs: 0 505s # Pool idle thread count: 2, unprocessed jobs: 0 505s # Pool idle thread count: 2, unprocessed jobs: 0 505s ok 7 /threadpool/idle-time 505s ok - glib/thread-pool-slow.test 505s # slow test /threadpool/idle-time executed in 19.53 secs 505s # End of threadpool tests 505s # Running test: glib/io-channel-basic.test 505s TAP version 14 505s # random seed: R02Sa9a9c2b3a17ba4e286917827021029b5 505s 1..1 505s # Start of gio tests 505s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 505s # random seed: R02S85fdba7fb597e9f15fa42829314f0659 506s # GLib-DEBUG: io-channel-basic: child writing 8+2299 bytes to 6 506s # GLib-DEBUG: io-channel-basic: ...from 5: IN 506s # GLib-DEBUG: io-channel-basic: ...from 5: 2299 bytes 506s # GLib-DEBUG: io-channel-basic: ...from 5: OK 506s # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 6 506s # GLib-DEBUG: io-channel-basic: ...from 5: IN 506s # GLib-DEBUG: io-channel-basic: ...from 5: 4756 bytes 506s # GLib-DEBUG: io-channel-basic: ...from 5: OK 506s # GLib-DEBUG: io-channel-basic: child writing 8+3376 bytes to 6 506s # GLib-DEBUG: io-channel-basic: ...from 5: IN 506s # GLib-DEBUG: io-channel-basic: ...from 5: 3376 bytes 506s # GLib-DEBUG: io-channel-basic: ...from 5: OK 507s # GLib-DEBUG: io-channel-basic: child writing 8+2386 bytes to 6 507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 507s # GLib-DEBUG: io-channel-basic: ...from 5: 2386 bytes 507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 507s # GLib-DEBUG: io-channel-basic: child writing 8+4181 bytes to 6 507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 507s # GLib-DEBUG: io-channel-basic: ...from 5: 4181 bytes 507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 507s # GLib-DEBUG: io-channel-basic: child writing 8+736 bytes to 6 507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 507s # GLib-DEBUG: io-channel-basic: ...from 5: 736 bytes 507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 507s # GLib-DEBUG: io-channel-basic: child writing 8+33 bytes to 6 507s # GLib-DEBUG: io-channel-basic: ...from 5: IN 507s # GLib-DEBUG: io-channel-basic: ...from 5: 33 bytes 507s # GLib-DEBUG: io-channel-basic: ...from 5: OK 508s # GLib-DEBUG: io-channel-basic: child writing 8+1611 bytes to 6 508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 508s # GLib-DEBUG: io-channel-basic: ...from 5: 1611 bytes 508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 508s # GLib-DEBUG: io-channel-basic: child writing 8+4072 bytes to 6 508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 508s # GLib-DEBUG: io-channel-basic: ...from 5: 4072 bytes 508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 508s # GLib-DEBUG: io-channel-basic: child writing 8+4225 bytes to 6 508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 508s # GLib-DEBUG: io-channel-basic: ...from 5: 4225 bytes 508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 508s # GLib-DEBUG: io-channel-basic: child writing 8+3771 bytes to 6 508s # GLib-DEBUG: io-channel-basic: ...from 5: IN 508s # GLib-DEBUG: io-channel-basic: ...from 5: 3771 bytes 508s # GLib-DEBUG: io-channel-basic: ...from 5: OK 508s # Executing: glib/io-channel-basic.test 509s # GLib-DEBUG: io-channel-basic: child writing 8+3221 bytes to 6 509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 509s # GLib-DEBUG: io-channel-basic: ...from 5: 3221 bytes 509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 509s # GLib-DEBUG: io-channel-basic: child writing 8+44 bytes to 6 509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 509s # GLib-DEBUG: io-channel-basic: ...from 5: 44 bytes 509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 509s # GLib-DEBUG: io-channel-basic: child writing 8+1803 bytes to 6 509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 509s # GLib-DEBUG: io-channel-basic: ...from 5: 1803 bytes 509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 509s # GLib-DEBUG: io-channel-basic: child writing 8+1861 bytes to 6 509s # GLib-DEBUG: io-channel-basic: ...from 5: IN 509s # GLib-DEBUG: io-channel-basic: ...from 5: 1861 bytes 509s # GLib-DEBUG: io-channel-basic: ...from 5: OK 510s # GLib-DEBUG: io-channel-basic: child writing 8+4883 bytes to 6 510s # GLib-DEBUG: io-channel-basic: ...from 5: IN 510s # GLib-DEBUG: io-channel-basic: ...from 5: 4883 bytes 510s # GLib-DEBUG: io-channel-basic: ...from 5: OK 510s # GLib-DEBUG: io-channel-basic: child writing 8+2939 bytes to 6 510s # GLib-DEBUG: io-channel-basic: ...from 5: IN 510s # GLib-DEBUG: io-channel-basic: ...from 5: 2939 bytes 510s # GLib-DEBUG: io-channel-basic: ...from 5: OK 510s # GLib-DEBUG: io-channel-basic: child writing 8+2276 bytes to 6 510s # GLib-DEBUG: io-channel-basic: ...from 5: IN 510s # GLib-DEBUG: io-channel-basic: ...from 5: 2276 bytes 510s # GLib-DEBUG: io-channel-basic: ...from 5: OK 511s # GLib-DEBUG: io-channel-basic: child writing 8+2283 bytes to 6 511s # GLib-DEBUG: io-channel-basic: ...from 5: IN 511s # GLib-DEBUG: io-channel-basic: ...from 5: 2283 bytes 511s # GLib-DEBUG: io-channel-basic: ...from 5: OK 511s # GLib-DEBUG: io-channel-basic: child writing 8+3855 bytes to 6 511s # GLib-DEBUG: io-channel-basic: ...from 5: IN 511s # GLib-DEBUG: io-channel-basic: ...from 5: 3855 bytes 511s # GLib-DEBUG: io-channel-basic: ...from 5: OK 511s # GLib-DEBUG: io-channel-basic: child writing 8+3234 bytes to 6 511s # GLib-DEBUG: io-channel-basic: ...from 5: IN 511s # GLib-DEBUG: io-channel-basic: ...from 5: 3234 bytes 511s # GLib-DEBUG: io-channel-basic: ...from 5: OK 511s # GLib-DEBUG: io-channel-basic: child writing 8+4253 bytes to 6 511s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 511s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 511s # GLib-DEBUG: io-channel-basic: ...from 5: 4253 bytes 511s # GLib-DEBUG: io-channel-basic: ...from 5: OK 511s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 511s # random seed: R02S7a6bd23cfe844b9b107b82e5ecf65092 511s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 511s # random seed: R02S8fa265cba11328317d98c5db4c9f0ba8 511s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 511s # random seed: R02S2d02eb55bae1c1369188d9a87f29d18e 511s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 511s # random seed: R02S70821c110f22238c6610e6dd7586c652 511s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 511s # random seed: R02S24ec81de04436ab0085d804249feb8f5 512s # GLib-DEBUG: io-channel-basic: child writing 8+3486 bytes to 9 512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 512s # GLib-DEBUG: io-channel-basic: ...from 8: 3486 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+1546 bytes to 17 512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 512s # GLib-DEBUG: io-channel-basic: ...from 16: 1546 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+1496 bytes to 15 512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 512s # GLib-DEBUG: io-channel-basic: ...from 14: 1496 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+263 bytes to 13 512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 512s # GLib-DEBUG: io-channel-basic: ...from 12: 263 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+3569 bytes to 11 512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 512s # GLib-DEBUG: io-channel-basic: ...from 10: 3569 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+4328 bytes to 9 512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 512s # GLib-DEBUG: io-channel-basic: ...from 8: 4328 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+3953 bytes to 15 512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 512s # GLib-DEBUG: io-channel-basic: ...from 14: 3953 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+2613 bytes to 13 512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 512s # GLib-DEBUG: io-channel-basic: ...from 12: 2613 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+4369 bytes to 11 512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 512s # GLib-DEBUG: io-channel-basic: ...from 10: 4369 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+3048 bytes to 17 512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 512s # GLib-DEBUG: io-channel-basic: ...from 16: 3048 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+4434 bytes to 9 512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 512s # GLib-DEBUG: io-channel-basic: ...from 8: 4434 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+792 bytes to 15 512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 512s # GLib-DEBUG: io-channel-basic: ...from 14: 792 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+1368 bytes to 17 512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 512s # GLib-DEBUG: io-channel-basic: ...from 16: 1368 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+565 bytes to 11 512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 512s # GLib-DEBUG: io-channel-basic: ...from 10: 565 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+1348 bytes to 13 512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 512s # GLib-DEBUG: io-channel-basic: ...from 12: 1348 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+935 bytes to 17 512s # GLib-DEBUG: io-channel-basic: ...from 16: IN 512s # GLib-DEBUG: io-channel-basic: ...from 16: 935 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 16: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+4494 bytes to 9 512s # GLib-DEBUG: io-channel-basic: ...from 8: IN 512s # GLib-DEBUG: io-channel-basic: ...from 8: 4494 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 8: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+4062 bytes to 13 512s # GLib-DEBUG: io-channel-basic: ...from 12: IN 512s # GLib-DEBUG: io-channel-basic: ...from 12: 4062 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 12: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+4992 bytes to 11 512s # GLib-DEBUG: io-channel-basic: ...from 10: IN 512s # GLib-DEBUG: io-channel-basic: ...from 10: 4992 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 10: OK 512s # GLib-DEBUG: io-channel-basic: child writing 8+2175 bytes to 15 512s # GLib-DEBUG: io-channel-basic: ...from 14: IN 512s # GLib-DEBUG: io-channel-basic: ...from 14: 2175 bytes 512s # GLib-DEBUG: io-channel-basic: ...from 14: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+2809 bytes to 9 513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 513s # GLib-DEBUG: io-channel-basic: ...from 8: 2809 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+3827 bytes to 17 513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 513s # GLib-DEBUG: io-channel-basic: ...from 16: 3827 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+1467 bytes to 11 513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 513s # GLib-DEBUG: io-channel-basic: ...from 10: 1467 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+1386 bytes to 13 513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 513s # GLib-DEBUG: io-channel-basic: ...from 12: 1386 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+4444 bytes to 15 513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 513s # GLib-DEBUG: io-channel-basic: ...from 14: 4444 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+3307 bytes to 9 513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 513s # GLib-DEBUG: io-channel-basic: ...from 8: 3307 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+2634 bytes to 13 513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 513s # GLib-DEBUG: io-channel-basic: ...from 12: 2634 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+2548 bytes to 17 513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 513s # GLib-DEBUG: io-channel-basic: ...from 16: 2548 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+3086 bytes to 15 513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 513s # GLib-DEBUG: io-channel-basic: ...from 14: 3086 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+1883 bytes to 11 513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 513s # GLib-DEBUG: io-channel-basic: ...from 10: 1883 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+4861 bytes to 9 513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 513s # GLib-DEBUG: io-channel-basic: ...from 8: 4861 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+2123 bytes to 13 513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 513s # GLib-DEBUG: io-channel-basic: ...from 12: 2123 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+1128 bytes to 17 513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 513s # GLib-DEBUG: io-channel-basic: ...from 16: 1128 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+4925 bytes to 15 513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 513s # GLib-DEBUG: io-channel-basic: ...from 14: 4925 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+3545 bytes to 11 513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 513s # GLib-DEBUG: io-channel-basic: ...from 10: 3545 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+4100 bytes to 9 513s # GLib-DEBUG: io-channel-basic: ...from 8: IN 513s # GLib-DEBUG: io-channel-basic: ...from 8: 4100 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 8: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+4178 bytes to 15 513s # GLib-DEBUG: io-channel-basic: ...from 14: IN 513s # GLib-DEBUG: io-channel-basic: ...from 14: 4178 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 14: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+4978 bytes to 13 513s # GLib-DEBUG: io-channel-basic: ...from 12: IN 513s # GLib-DEBUG: io-channel-basic: ...from 12: 4978 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 12: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+994 bytes to 17 513s # GLib-DEBUG: io-channel-basic: ...from 16: IN 513s # GLib-DEBUG: io-channel-basic: ...from 16: 994 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 16: OK 513s # GLib-DEBUG: io-channel-basic: child writing 8+3888 bytes to 11 513s # GLib-DEBUG: io-channel-basic: ...from 10: IN 513s # GLib-DEBUG: io-channel-basic: ...from 10: 3888 bytes 513s # GLib-DEBUG: io-channel-basic: ...from 10: OK 513s # Executing: glib/io-channel-basic.test 514s # GLib-DEBUG: io-channel-basic: child writing 8+838 bytes to 9 514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 514s # GLib-DEBUG: io-channel-basic: ...from 8: 838 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+632 bytes to 13 514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 514s # GLib-DEBUG: io-channel-basic: ...from 12: 632 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+440 bytes to 17 514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 514s # GLib-DEBUG: io-channel-basic: ...from 16: 440 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+3239 bytes to 15 514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 514s # GLib-DEBUG: io-channel-basic: ...from 14: 3239 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+3677 bytes to 11 514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 514s # GLib-DEBUG: io-channel-basic: ...from 10: 3677 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+651 bytes to 9 514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 514s # GLib-DEBUG: io-channel-basic: ...from 8: 651 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+3057 bytes to 15 514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 514s # GLib-DEBUG: io-channel-basic: ...from 14: 3057 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+2056 bytes to 13 514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 514s # GLib-DEBUG: io-channel-basic: ...from 12: 2056 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+386 bytes to 17 514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 514s # GLib-DEBUG: io-channel-basic: ...from 16: 386 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+3792 bytes to 11 514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 514s # GLib-DEBUG: io-channel-basic: ...from 10: 3792 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+4383 bytes to 9 514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 514s # GLib-DEBUG: io-channel-basic: ...from 8: 4383 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+359 bytes to 15 514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 514s # GLib-DEBUG: io-channel-basic: ...from 14: 359 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+3580 bytes to 13 514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 514s # GLib-DEBUG: io-channel-basic: ...from 12: 3580 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+2856 bytes to 17 514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 514s # GLib-DEBUG: io-channel-basic: ...from 16: 2856 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+131 bytes to 11 514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 514s # GLib-DEBUG: io-channel-basic: ...from 10: 131 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+1466 bytes to 9 514s # GLib-DEBUG: io-channel-basic: ...from 8: IN 514s # GLib-DEBUG: io-channel-basic: ...from 8: 1466 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 8: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+3139 bytes to 15 514s # GLib-DEBUG: io-channel-basic: ...from 14: IN 514s # GLib-DEBUG: io-channel-basic: ...from 14: 3139 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 14: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+335 bytes to 17 514s # GLib-DEBUG: io-channel-basic: ...from 16: IN 514s # GLib-DEBUG: io-channel-basic: ...from 16: 335 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 16: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+621 bytes to 13 514s # GLib-DEBUG: io-channel-basic: ...from 12: IN 514s # GLib-DEBUG: io-channel-basic: ...from 12: 621 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 12: OK 514s # GLib-DEBUG: io-channel-basic: child writing 8+4413 bytes to 11 514s # GLib-DEBUG: io-channel-basic: ...from 10: IN 514s # GLib-DEBUG: io-channel-basic: ...from 10: 4413 bytes 514s # GLib-DEBUG: io-channel-basic: ...from 10: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1662 bytes to 9 515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 515s # GLib-DEBUG: io-channel-basic: ...from 8: 1662 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+4047 bytes to 15 515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 515s # GLib-DEBUG: io-channel-basic: ...from 14: 4047 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1447 bytes to 17 515s # GLib-DEBUG: io-channel-basic: ...from 16: IN 515s # GLib-DEBUG: io-channel-basic: ...from 16: 1447 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 16: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1062 bytes to 13 515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 515s # GLib-DEBUG: io-channel-basic: ...from 12: 1062 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+2506 bytes to 11 515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 515s # GLib-DEBUG: io-channel-basic: ...from 10: 2506 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+4728 bytes to 9 515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 515s # GLib-DEBUG: io-channel-basic: ...from 8: 4728 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1128 bytes to 15 515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 515s # GLib-DEBUG: io-channel-basic: ...from 14: 1128 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+3119 bytes to 17 515s # GLib-DEBUG: io-channel-basic: ...from 16: IN 515s # GLib-DEBUG: io-channel-basic: ...from 16: 3119 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 16: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+4471 bytes to 11 515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 515s # GLib-DEBUG: io-channel-basic: ...from 10: 4471 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1544 bytes to 13 515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 515s # GLib-DEBUG: io-channel-basic: ...from 12: 1544 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+884 bytes to 9 515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 515s # GLib-DEBUG: io-channel-basic: ...from 8: 884 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+4186 bytes to 15 515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 515s # GLib-DEBUG: io-channel-basic: ...from 14: 4186 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1038 bytes to 11 515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 515s # GLib-DEBUG: io-channel-basic: ...from 10: 1038 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1664 bytes to 13 515s # GLib-DEBUG: io-channel-basic: ...from 12: IN 515s # GLib-DEBUG: io-channel-basic: ...from 12: 1664 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 12: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+848 bytes to 17 515s # GLib-DEBUG: io-channel-basic: ...from 16: IN 515s # GLib-DEBUG: io-channel-basic: ...from 16: 848 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 16: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+550 bytes to 9 515s # GLib-DEBUG: io-channel-basic: ...from 8: IN 515s # GLib-DEBUG: io-channel-basic: ...from 8: 550 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 8: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+1491 bytes to 15 515s # GLib-DEBUG: io-channel-basic: ...from 14: IN 515s # GLib-DEBUG: io-channel-basic: ...from 14: 1491 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 14: OK 515s # GLib-DEBUG: io-channel-basic: child writing 8+2938 bytes to 11 515s # GLib-DEBUG: io-channel-basic: ...from 10: IN 515s # GLib-DEBUG: io-channel-basic: ...from 10: 2938 bytes 515s # GLib-DEBUG: io-channel-basic: ...from 10: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+2638 bytes to 13 516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 516s # GLib-DEBUG: io-channel-basic: ...from 12: 2638 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+1018 bytes to 17 516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 516s # GLib-DEBUG: io-channel-basic: ...from 16: 1018 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+1980 bytes to 9 516s # GLib-DEBUG: io-channel-basic: ...from 8: IN 516s # GLib-DEBUG: io-channel-basic: ...from 8: 1980 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+4510 bytes to 11 516s # GLib-DEBUG: io-channel-basic: child writing 8+4068 bytes to 15 516s # GLib-DEBUG: io-channel-basic: ...from 10: IN 516s # GLib-DEBUG: io-channel-basic: ...from 10: 4510 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 10: OK 516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 516s # GLib-DEBUG: io-channel-basic: ...from 14: 4068 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+3624 bytes to 17 516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 516s # GLib-DEBUG: io-channel-basic: ...from 16: 3624 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+2487 bytes to 13 516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 516s # GLib-DEBUG: io-channel-basic: ...from 12: 2487 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+2909 bytes to 9 516s # GLib-DEBUG: io-channel-basic: ...from 8: IN 516s # GLib-DEBUG: io-channel-basic: ...from 8: 2909 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+62 bytes to 15 516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 516s # GLib-DEBUG: io-channel-basic: ...from 14: 62 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+1234 bytes to 17 516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 516s # GLib-DEBUG: io-channel-basic: ...from 16: 1234 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+897 bytes to 11 516s # GLib-DEBUG: io-channel-basic: ...from 10: IN 516s # GLib-DEBUG: io-channel-basic: ...from 10: 897 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 10: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+4508 bytes to 13 516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 516s # GLib-DEBUG: io-channel-basic: ...from 12: 4508 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+4767 bytes to 9 516s # GLib-DEBUG: io-channel-basic: ...from 8: IN 516s # GLib-DEBUG: io-channel-basic: ...from 8: 4767 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 8: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+2002 bytes to 15 516s # GLib-DEBUG: io-channel-basic: ...from 14: IN 516s # GLib-DEBUG: io-channel-basic: ...from 14: 2002 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 14: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+401 bytes to 11 516s # GLib-DEBUG: io-channel-basic: ...from 10: IN 516s # GLib-DEBUG: io-channel-basic: ...from 10: 401 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 10: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+1260 bytes to 17 516s # GLib-DEBUG: io-channel-basic: ...from 16: IN 516s # GLib-DEBUG: io-channel-basic: ...from 16: 1260 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 16: OK 516s # GLib-DEBUG: io-channel-basic: child writing 8+3266 bytes to 13 516s # GLib-DEBUG: io-channel-basic: ...from 12: IN 516s # GLib-DEBUG: io-channel-basic: ...from 12: 3266 bytes 516s # GLib-DEBUG: io-channel-basic: ...from 12: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4400 bytes to 9 517s # GLib-DEBUG: io-channel-basic: ...from 8: IN 517s # GLib-DEBUG: io-channel-basic: ...from 8: 4400 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+1396 bytes to 15 517s # GLib-DEBUG: io-channel-basic: ...from 14: IN 517s # GLib-DEBUG: io-channel-basic: ...from 14: 1396 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 14: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4426 bytes to 11 517s # GLib-DEBUG: io-channel-basic: ...from 10: IN 517s # GLib-DEBUG: io-channel-basic: ...from 10: 4426 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4715 bytes to 17 517s # GLib-DEBUG: io-channel-basic: ...from 16: IN 517s # GLib-DEBUG: io-channel-basic: ...from 16: 4715 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4182 bytes to 13 517s # GLib-DEBUG: io-channel-basic: ...from 12: IN 517s # GLib-DEBUG: io-channel-basic: ...from 12: 4182 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 12: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+821 bytes to 9 517s # GLib-DEBUG: io-channel-basic: ...from 8: IN 517s # GLib-DEBUG: io-channel-basic: ...from 8: 821 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4950 bytes to 15 517s # GLib-DEBUG: io-channel-basic: child writing 8+1251 bytes to 11 517s # GLib-DEBUG: io-channel-basic: ...from 10: IN 517s # GLib-DEBUG: io-channel-basic: ...from 10: 1251 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 517s # GLib-DEBUG: io-channel-basic: ...from 14: IN 517s # GLib-DEBUG: io-channel-basic: ...from 14: 4950 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 14: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+3949 bytes to 17 517s # GLib-DEBUG: io-channel-basic: ...from 16: IN 517s # GLib-DEBUG: io-channel-basic: ...from 16: 3949 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4446 bytes to 13 517s # GLib-DEBUG: io-channel-basic: ...from 12: IN 517s # GLib-DEBUG: io-channel-basic: ...from 12: 4446 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 12: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+55 bytes to 9 517s # GLib-DEBUG: io-channel-basic: ...from 8: IN 517s # GLib-DEBUG: io-channel-basic: ...from 8: 55 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+2041 bytes to 15 517s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 517s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 517s # GLib-DEBUG: io-channel-basic: ...from 14: 2041 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 14: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4598 bytes to 13 517s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 517s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 517s # GLib-DEBUG: io-channel-basic: ...from 12: 4598 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 12: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+4959 bytes to 11 517s # GLib-DEBUG: io-channel-basic: ...from 10: IN 517s # GLib-DEBUG: io-channel-basic: ...from 10: 4959 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+3645 bytes to 17 517s # GLib-DEBUG: io-channel-basic: ...from 16: IN 517s # GLib-DEBUG: io-channel-basic: ...from 16: 3645 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+1680 bytes to 9 517s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 517s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 517s # GLib-DEBUG: io-channel-basic: ...from 8: 1680 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 8: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+3866 bytes to 11 517s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 517s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 517s # GLib-DEBUG: io-channel-basic: ...from 10: 3866 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 10: OK 517s # GLib-DEBUG: io-channel-basic: child writing 8+3787 bytes to 17 517s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 517s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 517s # GLib-DEBUG: io-channel-basic: ...from 16: 3787 bytes 517s # GLib-DEBUG: io-channel-basic: ...from 16: OK 517s ok 1 /gio/io-basics 517s # slow test /gio/io-basics executed in 11.86 secs 517s # End of gio tests 517s ok - glib/io-channel-basic.test 517s # Running test: glib/gutils-user-database.test 517s ok - glib/gutils-user-database.test 517s TAP version 14 517s # random seed: R02S1361c6d797f4ee670dbbbfedac2d7462 517s 1..1 517s # Start of gutils tests 517s ok 1 /gutils/get_user_database_entry 517s # End of gutils tests 517s # Running test: glib/file-thumbnail.test 517s TAP version 14 517s # random seed: R02S91f487f8b3c62c4e79efa50e0230cda4 517s 1..7 517s # Start of file-thumbnail tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/runtime 517s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 517s ok 1 /file-thumbnail/fail 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 2 /file-thumbnail/size-priority 517s # Start of valid tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 517s ok 3 /file-thumbnail/valid/normal 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 4 /file-thumbnail/valid/large 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 5 /file-thumbnail/valid/x-large 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 6 /file-thumbnail/valid/xx-large 517s # End of valid tests 517s # Start of unknown tests 517s ok - glib/file-thumbnail.test 517s # Running test: glib/base64.test 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/runtime 517s # Created test thumbnail at /tmp/test_file-thumbnail_SEC752/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 517s ok 7 /file-thumbnail/unknown/super-large 517s # End of unknown tests 517s # End of file-thumbnail tests 517s TAP version 14 517s # random seed: R02S28681c420ad800f573cc02b4f0b80f38 517s 1..28 517s # Start of base64 tests 517s ok 1 /base64/encode 517s ok 2 /base64/decode 517s ok 3 /base64/decode-inplace 517s ok 4 /base64/encode-decode 517s # Start of full tests 517s ok 5 /base64/full/1 517s ok 6 /base64/full/2 517s ok 7 /base64/full/3 517s ok 8 /base64/full/4 517s # End of full tests 517s # Start of encode tests 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 517s ok 9 /base64/encode/empty 517s # Start of incremental tests 517s # Start of small-block tests 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 517s ok 10 /base64/encode/incremental/small-block/1 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 517s ok 11 /base64/encode/incremental/small-block/2 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 517s ok 12 /base64/encode/incremental/small-block/3 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 517s ok 13 /base64/encode/incremental/small-block/4 517s # End of small-block tests 517s # End of incremental tests 517s # End of encode tests 517s # Start of incremental tests 517s # Start of nobreak tests 517s ok 14 /base64/incremental/nobreak/1 517s ok 15 /base64/incremental/nobreak/2 517s ok 16 /base64/incremental/nobreak/3 517s ok 17 /base64/incremental/nobreak/4-a 517s ok 18 /base64/incremental/nobreak/4-b 517s ok 19 /base64/incremental/nobreak/4-c 517s # End of nobreak tests 517s # Start of break tests 517s ok 20 /base64/incremental/break/1 517s ok 21 /base64/incremental/break/2 517s ok 22 /base64/incremental/break/3 517s # End of break tests 517s # Start of smallblock tests 517s ok 23 /base64/incremental/smallblock/1 517s ok 24 /base64/incremental/smallblock/2 517s ok - glib/base64.test 517s # Running test: glib/dataset.test 517s ok 25 /base64/incremental/smallblock/3 517s ok 26 /base64/incremental/smallblock/4 517s # End of smallblock tests 517s # End of incremental tests 517s # Start of decode tests 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 517s ok 27 /base64/decode/empty 517s # End of decode tests 517s # Start of encode-decode tests 517s # Vector 0: 517s # Vector 1: f 517s # Vector 2: fo 517s # Vector 3: foo 517s # Vector 4: foob 517s # Vector 5: fooba 517s # Vector 6: foobar 517s ok 28 /base64/encode-decode/rfc4648 517s # End of encode-decode tests 517s # End of base64 tests 517s TAP version 14 517s # random seed: R02S93ec41611df2dcf50085ea37948b9199 517s 1..14 517s # Start of quark tests 517s ok 1 /quark/basic 517s ok 2 /quark/string 517s # End of quark tests 517s # Start of dataset tests 517s ok 3 /dataset/basic 517s ok 4 /dataset/id 517s ok 5 /dataset/full 517s ok 6 /dataset/foreach 517s ok 7 /dataset/destroy 517s # End of dataset tests 517s # Start of datalist tests 517s ok 8 /datalist/basic 517s ok 9 /datalist/id 517s ok 10 /datalist/recursive-clear 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 517s ok 11 /datalist/id-remove-multiple 517s ok - glib/dataset.test 517s # Running test: glib/utils-c-17.test 517s ok - glib/utils-c-17.test 517s # Running test: glib/properties-introspection.test 517s ok - glib/properties-introspection.test 517s # Running test: glib/markup-collect.test 517s ok - glib/markup-collect.test 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 517s ok 12 /datalist/id-remove-multiple-destroy-order 517s ok 13 /datalist/update-atomic 517s # Start of id-remove-multiple tests 517s ok 14 /datalist/id-remove-multiple/resize 517s # End of id-remove-multiple tests 517s # End of datalist tests 517s TAP version 14 517s # random seed: R02Se490142d0e1bfe4f80f3c8ac8e23eea7 517s 1..41 517s # Start of utils tests 517s ok 1 /utils/language-names 517s ok 2 /utils/locale-variants 517s ok 3 /utils/version 517s ok 4 /utils/appname 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 517s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 517s ok 5 /utils/prgname-thread-safety 517s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 517s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 517s ok 6 /utils/tmpdir 517s ok 7 /utils/basic_bits 517s ok 8 /utils/bits 517s ok 9 /utils/swap 517s ok 10 /utils/find-program 517s ok 11 /utils/find-program-for-path 517s ok 12 /utils/debug 517s ok 13 /utils/codeset 517s ok 14 /utils/codeset2 517s ok 15 /utils/console-charset 517s ok 16 /utils/gettext 517s ok 17 /utils/username 517s ok 18 /utils/realname 517s ok 19 /utils/hostname 517s ok 20 /utils/xdgdirs 517s ok 21 /utils/specialdir 517s # NAME: Ubuntu 517s ok 22 /utils/os-info 517s ok 23 /utils/clear-pointer 517s ok 24 /utils/clear-pointer-cast 517s ok 25 /utils/take-pointer 517s ok 26 /utils/clear-source 517s ok 27 /utils/misc-mem 517s # /utils/aligned-mem summary: Aligned memory allocator 517s # Alignment must not be zero 517s # Alignment must be a power of two 517s # Alignment must be a multiple of sizeof(void*) 517s ok 28 /utils/aligned-mem 517s # /utils/free-sized summary: Check that g_free_sized() works 517s ok 29 /utils/free-sized 517s ok 30 /utils/nullify 517s ok 31 /utils/atexit 517s ok 32 /utils/check-setuid 517s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 517s ok 33 /utils/int-limits 517s ok 34 /utils/clear-list 517s ok 35 /utils/clear-slist 517s ok 36 /utils/steal-handle-id 517s # Start of specialdir tests 517s ok 37 /utils/specialdir/desktop 517s # End of specialdir tests 517s # Start of clear-pointer tests 517s ok 38 /utils/clear-pointer/side-effects 517s # End of clear-pointer tests 517s # Start of aligned-mem tests 517s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 517s ok 39 /utils/aligned-mem/alignment 517s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 517s ok 40 /utils/aligned-mem/zeroed 517s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 517s ok 41 /utils/aligned-mem/free-sized 517s # Start of subprocess tests 517s # End of subprocess tests 517s # End of aligned-mem tests 517s # End of utils tests 517s TAP version 14 517s # random seed: R02See7264708025e02625a53028a26ab5d3 517s 1..2 517s # Start of properties tests 517s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 517s ok 1 /properties/introspection 517s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 517s ok 2 /properties/collision 517s # End of properties tests 517s TAP version 14 517s # random seed: R02S67c65ab5c3e482dbd95dafc4883f34c1 517s 1..21 517s # Start of markup tests 517s # Start of collect tests 517s ok 1 /markup/collect/0 517s ok 2 /markup/collect/1 517s ok 3 /markup/collect/2 517s ok 4 /markup/collect/3 517s ok 5 /markup/collect/4 517s ok 6 /markup/collect/5 517s ok 7 /markup/collect/6 517s ok 8 /markup/collect/7 517s ok 9 /markup/collect/8 517s ok 10 /markup/collect/9 517s ok 11 /markup/collect/10 517s ok 12 /markup/collect/11 517s ok 13 /markup/collect/12 517s ok 14 /markup/collect/13 517s ok 15 /markup/collect/14 517s ok 16 /markup/collect/15 517s ok 17 /markup/collect/16 517s ok 18 /markup/collect/17 517s ok 19 /markup/collect/18 517s ok 20 /markup/collect/19 517s ok 21 /markup/collect/cleanup 517s # End of collect tests 517s # End of markup tests 517s # Running test: glib/gdbus-introspection.test 517s TAP version 14 517s # random seed: R02S3440a3a7917af40b4a28b8148b9f1adb 517s 1..4 517s # Start of gdbus tests 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-parser/.dirs/runtime 517s ok - glib/gdbus-introspection.test 517s # Running test: glib/cache.test 517s ok 1 /gdbus/introspection-parser 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-generate/.dirs/runtime 517s ok 2 /gdbus/introspection-generate 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-default-direction/.dirs/runtime 517s ok 3 /gdbus/introspection-default-direction 517s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/home 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/cache 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/system-config2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/config 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/system-data2 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/data 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/state 517s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_0UX552/gdbus/introspection-extra-data/.dirs/runtime 517s ok 4 /gdbus/introspection-extra-data 517s # End of gdbus tests 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 517s TAP version 14 517s ok - glib/cache.test 517s # random seed: R02Sc8c156290541c819354cb9b2be52d300 517s 1..1 517s # Start of cache tests 517s ok 1 /cache/basic 517s # End of cache tests 517s # Running test: glib/gi-inspect-typelib.py.test 517s TAP version 13 517s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 517s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 517s # tmpdir: /tmp/tmpundny2a2 517s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 517s # Return code: 0 517s # Output: 517s # Usage: 517s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 517s # 517s # Help Options: 517s # -h, --help Show help options 517s # 517s # Application Options: 517s # --typelib-version=VERSION Typelib version to inspect 517s # --print-shlibs List the shared libraries the typelib requires 517s # --print-typelibs List other typelibs the inspected typelib requires 517s # Error: 518s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmp6v5ndufr 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 518s # Return code: 1 518s # Output: 518s # 518s # Error: 518s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 518s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmpqi_0909a 518s # Running: ['/usr/bin/gi-inspect-typelib'] 518s # Return code: 1 518s # Output: 518s # 518s # Error: 518s # Please specify exactly one namespace 518s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmp50ug6dt1 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # shlib: libgobject-2.0.so.0 518s # shlib: libglib-2.0.so.0 518s # Error: 518s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmp4ndjrq61 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # 518s # Error: 518s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmpsk0xdfyq 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # shlib: libgobject-2.0.so.0 518s # shlib: libglib-2.0.so.0 518s # Error: 518s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmp4g_735xi 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # shlib: libgobject-2.0.so.0 518s # Error: 518s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmpbfvkr9kx 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # typelib: GLib-2.0 518s # Error: 518s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmptbl42ovt 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # shlib: libgobject-2.0.so.0 518s # typelib: GLib-2.0 518s # Error: 518s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmpw_4o5fud 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # shlib: libgio-2.0.so.0 518s # Error: 518s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmpb88c1xax 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # typelib: GObject-2.0 518s # typelib: GLib-2.0 518s # typelib: GModule-2.0 518s # Error: 518s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 518s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 518s # tmpdir: /tmp/tmpce313iip 518s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 518s # Return code: 0 518s # Output: 518s # shlib: libgio-2.0.so.0 518s # typelib: GObject-2.0 518s # typelib: GLib-2.0 518s # typelib: GModule-2.0 518s # Error: 518s 1..12 518s ok - glib/gi-inspect-typelib.py.test 518s # Running test: glib/utf8-pointer.test 518s TAP version 14 518s # random seed: R02S6139f0c855f4c3ee399f509ceff0ab24 518s 1..3 518s # Start of utf8 tests 518s ok - glib/utf8-pointer.test 518s ok 1 /utf8/offsets 518s # slow test /utf8/offsets executed in 0.87 secs 518s ok 2 /utf8/lengths 518s ok 3 /utf8/find 518s # End of utf8 tests 518s # Running test: glib/rec-mutex.test 518s TAP version 14 518s # random seed: R02Sae905a6b5684d6791f64dec8c1f63a06 518s 1..29 518s # Start of thread tests 518s ok 1 /thread/rec-mutex1 518s ok 2 /thread/rec-mutex2 518s ok 3 /thread/rec-mutex3 518s # Executing: glib/rec-mutex.test 519s ok 4 /thread/rec-mutex4 519s # Start of rec-mutex tests 519s # Start of perf tests 519s # Start of uncontended tests 519s # max perf: 1.000000 mips 519s ok 5 /thread/rec-mutex/perf/uncontended/depth1 519s # max perf: inf mips 519s ok 6 /thread/rec-mutex/perf/uncontended/depth2 519s # max perf: inf mips 519s ok 7 /thread/rec-mutex/perf/uncontended/depth3 519s # max perf: 1.000000 mips 519s ok 8 /thread/rec-mutex/perf/uncontended/depth4 519s # max perf: 1.000000 mips 519s ok 9 /thread/rec-mutex/perf/uncontended/depth5 519s # End of uncontended tests 519s # Start of contended1 tests 519s # max perf: inf mips 519s ok 10 /thread/rec-mutex/perf/contended1/depth1 519s # max perf: inf mips 519s ok 11 /thread/rec-mutex/perf/contended1/depth2 519s # max perf: inf mips 519s ok 12 /thread/rec-mutex/perf/contended1/depth3 519s # max perf: 2.000000 mips 519s ok 13 /thread/rec-mutex/perf/contended1/depth4 519s # max perf: inf mips 519s ok 14 /thread/rec-mutex/perf/contended1/depth5 519s # End of contended1 tests 519s # Start of contended2 tests 519s # max perf: 3.000000 mips 519s ok 15 /thread/rec-mutex/perf/contended2/depth1 519s # max perf: inf mips 519s ok 16 /thread/rec-mutex/perf/contended2/depth2 519s # max perf: inf mips 519s ok 17 /thread/rec-mutex/perf/contended2/depth3 519s # max perf: inf mips 519s ok 18 /thread/rec-mutex/perf/contended2/depth4 519s # max perf: 3.000000 mips 519s ok 19 /thread/rec-mutex/perf/contended2/depth5 519s # End of contended2 tests 519s # Start of contended3 tests 519s # max perf: 4.000000 mips 519s ok 20 /thread/rec-mutex/perf/contended3/depth1 519s # max perf: 4.000000 mips 519s ok 21 /thread/rec-mutex/perf/contended3/depth2 519s # max perf: 4.000000 mips 519s ok 22 /thread/rec-mutex/perf/contended3/depth3 519s # max perf: 2.000000 mips 519s ok 23 /thread/rec-mutex/perf/contended3/depth4 519s # max perf: 0.266667 mips 519s ok 24 /thread/rec-mutex/perf/contended3/depth5 519s # End of contended3 tests 519s # Start of contended4 tests 519s # max perf: inf mips 519s ok 25 /thread/rec-mutex/perf/contended4/depth1 519s # max perf: 1.666667 mips 519s ok 26 /thread/rec-mutex/perf/contended4/depth2 519s # max perf: 2.500000 mips 519s ok 27 /thread/rec-mutex/perf/contended4/depth3 519s # max perf: 0.178571 mips 519s ok 28 /thread/rec-mutex/perf/contended4/depth4 519s # max perf: 0.065789 mips 519s ok 29 /thread/rec-mutex/perf/contended4/depth5 519s # End of contended4 tests 519s # End of perf tests 519s # End of rec-mutex tests 519s # End of thread tests 519s TAP version 14 519s # random seed: R02S0a7ca22b310e53b20535121c3e8cb7d2 519s 1..1 519s # Start of power-profile-monitor tests 519s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 519s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 519s ok - glib/rec-mutex.test 519s # Running test: glib/power-profile-monitor.test 519s ok - glib/power-profile-monitor.test 519s # Running test: glib/slist.test 519s ok - glib/slist.test 519s # Running test: glib/giomodule.test 519s ok - glib/giomodule.test 519s # Running test: glib/utf8-validate.test 519s ok 1 /power-profile-monitor/default 519s # End of power-profile-monitor tests 519s TAP version 14 519s # random seed: R02Sf189ecd703c1438ed8a717cce56bb439 519s 1..14 519s # Start of slist tests 519s ok 1 /slist/sort 519s ok 2 /slist/sort-with-data 519s ok 3 /slist/insert-sorted 519s ok 4 /slist/insert-sorted-with-data 519s ok 5 /slist/reverse 519s ok 6 /slist/nth 519s ok 7 /slist/remove 519s ok 8 /slist/remove-all 519s ok 9 /slist/insert 519s ok 10 /slist/position 519s ok 11 /slist/concat 519s ok 12 /slist/copy 519s # Start of sort tests 519s ok 13 /slist/sort/stable 519s # End of sort tests 519s # Start of copy tests 519s ok 14 /slist/copy/deep 519s # End of copy tests 519s # End of slist tests 519s TAP version 14 519s # random seed: R02Saf674104d645b151be3883275982a7e7 519s 1..3 519s # Start of giomodule tests 519s ok 1 /giomodule/extension-point 519s ok 2 /giomodule/module-scan-all 519s ok 3 /giomodule/module-scan-all-with-scope 519s # End of giomodule tests 519s TAP version 14 519s # random seed: R02Sa97719e2bda35ecada87961396b7c7a7 519s 1..238 519s # Start of utf8 tests 519s # Vector 0 519s # Vector 1 519s # Vector 2 519s # Vector 3 519s # Vector 4 519s # Vector 5 519s # Vector 6 519s # Vector 7 519s # Vector 8 519s # Vector 9 519s # Vector 10 519s # Vector 11 519s # Vector 12 519s # Vector 13 519s # Vector 14 519s # Vector 15 519s # Vector 16 519s # Vector 17 519s # Vector 18 519s # Vector 19 519s # Vector 20 519s # Vector 21 519s # Vector 22 519s # Vector 23 519s # Vector 24 519s # Vector 25 519s # Vector 26 519s # Vector 27 519s ok 1 /utf8/get-char-validated 519s # Start of validate tests 519s ok 2 /utf8/validate/0 519s ok 3 /utf8/validate/1 519s ok 4 /utf8/validate/2 519s ok 5 /utf8/validate/3 519s ok 6 /utf8/validate/4 519s ok 7 /utf8/validate/5 519s ok 8 /utf8/validate/6 519s ok 9 /utf8/validate/7 519s ok 10 /utf8/validate/8 519s ok 11 /utf8/validate/9 519s ok 12 /utf8/validate/10 519s ok 13 /utf8/validate/11 519s ok 14 /utf8/validate/12 519s ok 15 /utf8/validate/13 519s ok 16 /utf8/validate/14 519s ok 17 /utf8/validate/15 519s ok 18 /utf8/validate/16 519s ok 19 /utf8/validate/17 519s ok 20 /utf8/validate/18 519s ok 21 /utf8/validate/19 519s ok 22 /utf8/validate/20 519s ok 23 /utf8/validate/21 519s ok 24 /utf8/validate/22 519s ok 25 /utf8/validate/23 519s ok 26 /utf8/validate/24 519s ok 27 /utf8/validate/25 519s ok 28 /utf8/validate/26 519s ok 29 /utf8/validate/27 519s ok 30 /utf8/validate/28 519s ok 31 /utf8/validate/29 519s ok 32 /utf8/validate/30 519s ok 33 /utf8/validate/31 519s ok 34 /utf8/validate/32 519s ok 35 /utf8/validate/33 519s ok 36 /utf8/validate/34 519s ok 37 /utf8/validate/35 519s ok 38 /utf8/validate/36 519s ok 39 /utf8/validate/37 519s ok 40 /utf8/validate/38 519s ok 41 /utf8/validate/39 519s ok 42 /utf8/validate/40 519s ok 43 /utf8/validate/41 519s ok 44 /utf8/validate/42 519s ok 45 /utf8/validate/43 519s ok 46 /utf8/validate/44 519s ok 47 /utf8/validate/45 519s ok 48 /utf8/validate/46 519s ok 49 /utf8/validate/47 519s ok 50 /utf8/validate/48 519s ok 51 /utf8/validate/49 519s ok 52 /utf8/validate/50 519s ok 53 /utf8/validate/51 519s ok 54 /utf8/validate/52 519s ok 55 /utf8/validate/53 519s ok 56 /utf8/validate/54 519s ok 57 /utf8/validate/55 519s ok 58 /utf8/validate/56 519s ok 59 /utf8/validate/57 519s ok 60 /utf8/validate/58 519s ok 61 /utf8/validate/59 519s ok 62 /utf8/validate/60 519s ok 63 /utf8/validate/61 519s ok 64 /utf8/validate/62 519s ok 65 /utf8/validate/63 519s ok 66 /utf8/validate/64 519s ok 67 /utf8/validate/65 519s ok 68 /utf8/validate/66 519s ok 69 /utf8/validate/67 519s ok 70 /utf8/validate/68 519s ok 71 /utf8/validate/69 519s ok 72 /utf8/validate/70 519s ok 73 /utf8/validate/71 519s ok 74 /utf8/validate/72 519s ok 75 /utf8/validate/73 519s ok 76 /utf8/validate/74 519s ok 77 /utf8/validate/75 519s ok 78 /utf8/validate/76 519s ok 79 /utf8/validate/77 519s ok 80 /utf8/validate/78 519s ok 81 /utf8/validate/79 519s ok 82 /utf8/validate/80 519s ok 83 /utf8/validate/81 519s ok 84 /utf8/validate/82 519s ok 85 /utf8/validate/83 519s ok 86 /utf8/validate/84 519s ok 87 /utf8/validate/85 519s ok 88 /utf8/validate/86 519s ok 89 /utf8/validate/87 519s ok 90 /utf8/validate/88 519s ok 91 /utf8/validate/89 519s ok 92 /utf8/validate/90 519s ok 93 /utf8/validate/91 519s ok 94 /utf8/validate/92 519s ok 95 /utf8/validate/93 519s ok 96 /utf8/validate/94 519s ok 97 /utf8/validate/95 519s ok 98 /utf8/validate/96 519s ok 99 /utf8/validate/97 519s ok 100 /utf8/validate/98 519s ok 101 /utf8/validate/99 519s ok 102 /utf8/validate/100 519s ok 103 /utf8/validate/101 519s ok 104 /utf8/validate/102 519s ok 105 /utf8/validate/103 519s ok 106 /utf8/validate/104 519s ok 107 /utf8/validate/105 519s ok 108 /utf8/validate/106 519s ok 109 /utf8/validate/107 519s ok 110 /utf8/validate/108 519s ok 111 /utf8/validate/109 519s ok 112 /utf8/validate/110 519s ok 113 /utf8/validate/111 519s ok 114 /utf8/validate/112 519s ok 115 /utf8/validate/113 519s ok 116 /utf8/validate/114 519s ok 117 /utf8/validate/115 519s ok 118 /utf8/validate/116 519s ok 119 /utf8/validate/117 519s ok 120 /utf8/validate/118 519s ok 121 /utf8/validate/119 519s ok 122 /utf8/validate/120 519s ok 123 /utf8/validate/121 519s ok 124 /utf8/validate/122 519s ok 125 /utf8/validate/123 519s ok 126 /utf8/validate/124 519s ok 127 /utf8/validate/125 519s ok 128 /utf8/validate/126 519s ok 129 /utf8/validate/127 519s ok 130 /utf8/validate/128 519s ok 131 /utf8/validate/129 519s ok 132 /utf8/validate/130 519s ok 133 /utf8/validate/131 519s ok 134 /utf8/validate/132 519s ok 135 /utf8/validate/133 519s ok 136 /utf8/validate/134 519s ok 137 /utf8/validate/135 519s ok 138 /utf8/validate/136 519s ok 139 /utf8/validate/137 519s ok 140 /utf8/validate/138 519s ok 141 /utf8/validate/139 519s ok 142 /utf8/validate/140 519s ok 143 /utf8/validate/141 519s ok 144 /utf8/validate/142 519s ok 145 /utf8/validate/143 519s ok 146 /utf8/validate/144 519s ok 147 /utf8/validate/145 519s ok 148 /utf8/validate/146 519s ok 149 /utf8/validate/147 519s ok 150 /utf8/validate/148 519s ok 151 /utf8/validate/149 519s ok 152 /utf8/validate/150 519s ok 153 /utf8/validate/151 519s ok 154 /utf8/validate/152 519s ok 155 /utf8/validate/153 519s ok 156 /utf8/validate/154 519s ok 157 /utf8/validate/155 519s ok 158 /utf8/validate/156 519s ok 159 /utf8/validate/157 519s ok 160 /utf8/validate/158 519s ok 161 /utf8/validate/159 519s ok 162 /utf8/validate/160 519s ok 163 /utf8/validate/161 519s ok 164 /utf8/validate/162 519s ok 165 /utf8/validate/163 519s ok 166 /utf8/validate/164 519s ok 167 /utf8/validate/165 519s ok 168 /utf8/validate/166 519s ok 169 /utf8/validate/167 519s ok 170 /utf8/validate/168 519s ok 171 /utf8/validate/169 519s ok 172 /utf8/validate/170 519s ok 173 /utf8/validate/171 519s ok 174 /utf8/validate/172 519s ok 175 /utf8/validate/173 519s ok 176 /utf8/validate/174 519s ok 177 /utf8/validate/175 519s ok 178 /utf8/validate/176 519s ok 179 /utf8/validate/177 519s ok 180 /utf8/validate/178 519s ok 181 /utf8/validate/179 519s ok 182 /utf8/validate/180 519s ok 183 /utf8/validate/181 519s ok 184 /utf8/validate/182 519s ok 185 /utf8/validate/183 519s ok 186 /utf8/validate/184 519s ok 187 /utf8/validate/185 519s ok 188 /utf8/validate/186 519s ok 189 /utf8/validate/187 519s ok 190 /utf8/validate/188 519s ok 191 /utf8/validate/189 519s ok 192 /utf8/validate/190 519s ok 193 /utf8/validate/191 519s ok 194 /utf8/validate/192 519s ok 195 /utf8/validate/193 519s ok 196 /utf8/validate/194 519s ok 197 /utf8/validate/195 519s ok 198 /utf8/validate/196 519s ok 199 /utf8/validate/197 519s ok 200 /utf8/validate/198 519s ok 201 /utf8/validate/199 519s ok 202 /utf8/validate/200 519s ok 203 /utf8/validate/201 519s ok 204 /utf8/validate/202 519s ok 205 /utf8/validate/203 519s ok 206 /utf8/validate/204 519s ok 207 /utf8/validate/205 519s ok 208 /utf8/validate/206 519s ok 209 /utf8/validate/207 519s ok 210 /utf8/validate/208 519s ok 211 /utf8/validate/209 519s ok 212 /utf8/validate/210 519s ok 213 /utf8/validate/211 519s ok 214 /utf8/validate/212 519s ok 215 /utf8/validate/213 519s ok 216 /utf8/validate/214 519s ok 217 /utf8/validate/215 519s ok 218 /utf8/validate/216 519s ok 219 /utf8/validate/217 519s ok 220 /utf8/validate/218 519s ok 221 /utf8/validate/219 519s ok 222 /utf8/validate/220 519s ok 223 /utf8/validate/221 519s ok 224 /utf8/validate/222 519s ok 225 /utf8/validate/223 519s ok 226 /utf8/validate/224 519s ok 227 /utf8/validate/225 519s ok 228 /utf8/validate/226 519s ok 229 /utf8/validate/227 519s ok 230 /utf8/validate/228 519s ok 231 /utf8/validate/229 519s ok 232 /utf8/validate/230 519s ok 233 /utf8/validate/231 519s ok 234 /utf8/validate/232 519s ok 235 /utf8/validate/233 519s ok 236 /utf8/validate/234 519s ok 237 /utf8/validate/235 519s ok 238 /utf8/validate/236 519s # End of validate tests 519s # End of utf8 tests 519s TAP version 14 519s # random seed: R02S6539158cad6476b368bb8978d96e774b 519s 1..1 519s # Start of socket-listener tests 519s ok 1 /socket-listener/event-signal 519s # End of socket-listener tests 519s TAP version 14 519s # random seed: R02S2f09781b41d870b72ee93954777c16cf 519s 1..1 519s # Start of gobject tests 519s ok 1 /gobject/basic-signals 519s # End of gobject tests 519s TAP version 14 519s # random seed: R02S1fdaa15f96ddee0bf10681fdf2868348 519s 1..1 519s # Start of gobject tests 519s # private data during initialization: 54321 == 54321 519s # MAIN: emit test-signal: 519s # ::test_signal default_handler called 519s # ::test_signal default_handler called 519s # ::test_signal default_handler called 519s # signal return: "" 519s # MAIN: call iface print-string on test and derived object: 519s # Iface-FOO: "iface-string-from-test-type" from 0x5a4d7f177260 519s # Iface-BAR: "iface-string-from-derived-type" from 0x5a4d7f16c820 519s # chaining: 519s # Iface-FOO: "iface-string-from-derived-type" from 0x5a4d7f16c820 519s # private data after initialization: 54321 == 54321 519s ok 1 /gobject/basics 519s # End of gobject tests 519s TAP version 14 519s # random seed: R02S64ce4de061a4ccbd54579ef7a98ae950 519s 1..10 519s # Start of buffered-input-stream tests 519s ok 1 /buffered-input-stream/peek 519s ok 2 /buffered-input-stream/peek-buffer 519s ok 3 /buffered-input-stream/set-buffer-size 519s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 519s ok 4 /buffered-input-stream/read-byte 519s ok 5 /buffered-input-stream/read 519s ok 6 /buffered-input-stream/read-async 519s ok 7 /buffered-input-stream/skip 519s ok 8 /buffered-input-stream/skip-async 519s ok 9 /buffered-input-stream/seek 519s # End of buffered-input-stream tests 519s # Start of filter-input-stream tests 519s ok 10 /filter-input-stream/close 519s # End of filter-input-stream tests 519s TAP version 14 519s # random seed: R02S2671d9e4ea13561d66c4fc303a4ba007 519s 1..5 519s # Start of async-splice tests 519s ok 1 /async-splice/copy-chunks 519s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 519s ok 2 /async-splice/copy-chunks-threaded-input 519s ok - glib/utf8-validate.test 519s # Running test: glib/socket-listener.test 519s ok - glib/socket-listener.test 519s # Running test: glib/basic-signals.test 519s ok - glib/basic-signals.test 519s # Running test: glib/basics-gobject.test 519s ok - glib/basics-gobject.test 519s # Running test: glib/buffered-input-stream.test 519s ok - glib/buffered-input-stream.test 519s # Running test: glib/async-splice-output-stream.test 519s ok 3 /async-splice/copy-chunks-threaded-output 519s ok 4 /async-splice/copy-chunks-threaded 519s ok 5 /async-splice/cancelled 519s # End of async-splice tests 519s ok - glib/async-splice-output-stream.test 519s # Running test: glib/overflow.test 519s TAP version 14 519s # random seed: R02S425d38a19c71ca26a3c5ef36e1771a14 519s 1..6 519s # Start of glib tests 519s # Start of checked-math tests 519s ok 1 /glib/checked-math/guint-add 519s ok 2 /glib/checked-math/guint-mul 519s ok 3 /glib/checked-math/guint64-add 519s ok 4 /glib/checked-math/guint64-mul 519s ok 5 /glib/checked-math/gsize-add 519s ok 6 /glib/checked-math/gsize-mul 519s # End of checked-math tests 519s # End of glib tests 519s TAP version 14 519s # random seed: R02S729adb385b8bb62a4d4839f4af3f3b58 519s 1..2 519s # Start of gobject tests 519s # Start of singleton tests 519s ok 1 /gobject/singleton/construction 519s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 519s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 519s ok 2 /gobject/singleton/construct-property 519s # End of singleton tests 519s # End of gobject tests 519s TAP version 14 519s # random seed: R02S0e3d72f7ad7475a09f033fae94c45fd3 519s 1..3 519s # Start of private tests 519s ok 1 /private/instance 519s ok 2 /private/derived-instance 519s ok 3 /private/mixed-derived-instance 519s # End of private tests 519s TAP version 14 519s # random seed: R02S923561261a00a7614d981e389c5bc6d7 519s 1..3 519s # Start of throws tests 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_V7DZ52/throws/invoke-gerror/.dirs/runtime 519s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 519s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 519s ok 1 /throws/invoke-gerror 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_V7DZ52/throws/vfunc-can-throw-gerror/.dirs/runtime 519s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 519s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 519s ok 2 /throws/vfunc-can-throw-gerror 519s ok - glib/overflow.test 519s # Running test: glib/singleton.test 519s ok - glib/singleton.test 519s # Running test: glib/gobject-private.test 519s ok - glib/gobject-private.test 519s # Running test: glib/throws.test 519s ok - glib/throws.test 519s # Running test: glib/defaultiface.test 519s ok - glib/defaultiface.test 519s # Running test: glib/unicode-encoding.test 519s ok - glib/unicode-encoding.test 519s # Running test: glib/cond.test 519s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/home 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/cache 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/system-config2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/config 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/system-data2 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/data 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/state 519s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_V7DZ52/throws/callback-can-throw-gerror/.dirs/runtime 519s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 519s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 519s ok 3 /throws/callback-can-throw-gerror 519s # End of throws tests 519s TAP version 14 519s # random seed: R02Sa6a2f9bc775b9bbfb55ad7df9342c76e 519s 1..2 519s # Start of gobject tests 519s ok 1 /gobject/static-iface 519s ok 2 /gobject/dynamic-iface 519s # End of gobject tests 519s TAP version 14 519s # random seed: R02S25eecee890c9c88023b6c64f2622dddd 519s 1..1 519s # Start of unicode tests 519s ok 1 /unicode/encoding 519s # End of unicode tests 519s TAP version 14 519s # random seed: R02S5c2d741c5a68116b930bc3c3fc1f796b 519s 1..4 519s # Start of thread tests 519s ok 1 /thread/cond1 519s ok 2 /thread/cond2 519s # Start of cond tests 520s ok 3 /thread/cond/wait-until 520s # slow test /thread/cond/wait-until executed in 1.02 secs 520s # Start of wait-until tests 520s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 520s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 521s ok 4 /thread/cond/wait-until/contended-and-interrupted 521s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 521s # End of wait-until tests 521s # End of cond tests 521s # End of thread tests 521s ok - glib/cond.test 521s # Running test: glib/glistmodel.test 521s TAP version 14 521s # random seed: R02S288aa6aa39c5bb9e1b981521f314a34c 521s 1..18 521s # Start of glistmodel tests 521s # Start of store tests 521s ok 1 /glistmodel/store/properties 521s ok 2 /glistmodel/store/non-gobjects 521s ok 3 /glistmodel/store/boundaries 521s ok 4 /glistmodel/store/refcounts 521s ok 5 /glistmodel/store/sorted 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 521s ok 6 /glistmodel/store/splice-replace-middle 521s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 521s ok 7 /glistmodel/store/splice-replace-all 521s ok 8 /glistmodel/store/splice-noop 521s ok - glib/glistmodel.test 521s # Running test: glib/properties-refcount1.test 521s ok 9 /glistmodel/store/splice-remove-multiple 521s ok 10 /glistmodel/store/splice-add-multiple 521s ok 11 /glistmodel/store/splice-wrong-type 521s ok 12 /glistmodel/store/item-type 521s ok 13 /glistmodel/store/remove-all 521s ok 14 /glistmodel/store/sort 521s ok 15 /glistmodel/store/get-item-cache 521s ok 16 /glistmodel/store/items-changed 521s ok 17 /glistmodel/store/past-end 521s ok 18 /glistmodel/store/find 521s # End of store tests 521s # End of glistmodel tests 521s TAP version 14 521s # random seed: R02Sf7ff6ab44be323128bd88f79fc746f3f 521s 1..1 521s # Start of gobject tests 521s # Start of refcount tests 521s # .b 521s # .d 521s # .e 521s # .c 521s # .f 521s # .b 521s # .e 521s # .c 521s # .d 521s # .f 521s # .b 521s # .e 521s # .c 521s # .d 521s # .e 521s # .f 521s # .b 521s # .d 521s # .e 521s # .c 521s # .b 521s # .e 521s # .d 521s # .f 521s # .d 521s # .e 521s # .c 521s # .b 521s # .d 521s # .e 521s # .f 521s # .d 521s # .c 521s # .e 521s # .b 521s # .f 521s # .d 521s # .e 521s # .c 521s # .b 521s # .f 521s # .d 521s # .c 521s # .f 521s # .b 521s # .e 521s # .d 521s # .e 521s # .c 521s # .f 521s # .b 521s # .d 521s # .e 521s # .c 521s # .b 521s # .f 521s # .c 521s # .b 521s # .e 521s # .d 521s # .f 521s # .c 521s # .b 521s # .e 521s # .d 521s # .c 521s # .f 521s # .f 521s # .b 521s # .d 521s # .e 521s # .f 521s # .d 521s # .c 521s # .b 521s # .d 521s # .e 521s # .f 521s # .c 521s # .e 521s # .b 521s # .d 522s # .f 522s # .e 522s # .b 522s # .c 522s # .d 522s # .f 522s # .f 522s # .f 522s # .e 522s # .b 522s # .d 522s # .c 522s # .b 522s # .f 522s # .e 522s # .d 522s # .c 522s # .b 522s # .f 522s # .d 522s # .e 522s # .b 522s # .c 522s # .d 522s # .f 522s # .e 522s # .b 522s # .d 522s # .b 522s # .f 522s # .c 522s # .e 522s # .b 522s # .d 522s # .c 522s # .f 522s # .b 522s # .e 522s # .d 522s # .c 522s # .d 522s # .b 522s # .f 522s # .e 522s # .f 522s # .e 522s # .c 522s # .d 522s # .b 522s # .f 522s # .e 522s # .c 522s # .d 522s # .b 522s # .e 522s # .f 522s # .c 522s # .b 522s # .d 522s # .e 522s # .f 522s # .c 522s # .b 522s # .e 522s # .d 522s # .e 522s # .f 522s # .b 522s # .c 522s # .d 522s # .e 522s # .f 522s # .d 522s # .b 522s # .c 522s # .e 522s # .b 522s # .d 522s # .f 522s # .c 522s # .e 522s # .b 522s # .f 522s # .c 522s # .d 522s # .f 522s # .e 522s # .c 522s # .b 522s # .f 522s # .d 522s # .e 522s # .c 522s # .b 522s # .d 522s # .f 522s # .e 522s # .c 522s # .d 522s # .b 522s # .e 522s # .f 522s # .d 522s # .c 522s # .b 522s # .f 522s # .e 522s # .d 522s # .b 522s # .c 522s # .f 522s # .e 522s # .d 522s # .f 522s # .e 522s # .c 522s # .b 522s # .d 522s # .e 522s # .f 522s # .b 522s # .c 522s # .d 522s # .f 522s # .e 522s # .c 522s # .d 522s # .b 522s # .f 522s # .e 522s # .d 522s # .b 522s # .c 522s # .f 522s # .d 522s # .b 522s # .e 522s # .c 522s # .f 522s # .e 522s # .b 522s # .d 523s # .e 523s # .c 523s # .f 523s # .d 523s # .b 523s # .c 523s # .d 523s # .f 523s # .e 523s # .c 523s # .b 523s # .d 523s # .f 523s # .e 523s # .c 523s # .b 523s # .d 523s # .f 523s # .b 523s # .c 523s # .e 523s # .f 523s # .d 523s # .b 523s # .f 523s # .c 523s # .e 523s # .b 523s # .d 523s # .c 523s # .e 523s # .f 523s # .b 523s # .d 523s # .e 523s # .f 523s # .c 523s # .d 523s # .e 523s # .b 523s # .f 523s # .b 523s # .c 523s # .b 523s # .b 523s # .d 523s # .e 523s # .b 523s # .f 523s # .b 523s # .c 523s # .b 523s # .e 523s # .d 523s # .f 523s # .c 523s # .e 523s # .b 523s # .f 523s # .d 523s # .c 523s # .e 523s # .b 523s # .f 523s # .c 523s # .d 523s # .f 523s # .e 523s # .b 523s # .d 523s # .c 523s # .b 523s # .f 523s # .e 523s # .f 523s # .d 523s # .c 523s # .f 523s # .e 523s # .b 523s # .f 523s # .f 523s # .d 523s # .f 523s # .c 523s # .e 523s # .b 523s # .f 523s # .d 523s # .f 523s # .c 523s # .b 523s # .e 523s # .d 523s # .f 523s # .b 523s # .c 523s # .d 523s # .e 523s # .b 523s # .f 523s # .d 523s # .c 523s # .b 523s # .e 523s # .f 523s # .c 523s # .b 523s # .d 523s # .e 523s # .f 523s # .b 523s # .e 523s # .c 523s # .d 523s # .b 523s # .f 523s # .e 523s # .c 523s # .d 523s # .b 523s # .e 523s # .f 523s # .d 523s # .c 523s # .b 523s # .f 523s # .e 523s # .d 523s # .c 523s # .b 523s # .f 523s # .b 523s # .e 523s # .f 523s # Executing: glib/properties-refcount1.test 523s # .c 523s # .d 524s # .b 524s # .e 524s # .f 524s # .c 524s # .d 524s # .b 524s # .c 524s # .d 524s # .f 524s # .e 524s # .b 524s # .c 524s # .e 524s # .d 524s # .f 524s # .b 524s # .e 524s # .c 524s # .d 524s # .b 524s # .f 524s # .c 524s # .e 524s # .d 524s # .c 524s # .d 524s # .e 524s # .f 524s # .b 524s # .c 524s ok 1 /gobject/refcount/properties-1 524s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 524s # End of refcount tests 524s # End of gobject tests 524s ok - glib/properties-refcount1.test 524s # Running test: glib/power-profile-monitor-portal.test 524s TAP version 13 524s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 524s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 524s 1..2 524s ok - glib/power-profile-monitor-portal.test 524s # Running test: glib/tls-interaction.test 524s TAP version 14 524s # random seed: R02S176abf570ad83d1f5022921f970ed058 524s 1..42 524s # Start of tls-interaction tests 524s # Start of ask-password tests 524s # Start of invoke-with-loop tests 524s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 524s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 524s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 524s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 524s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 524s # End of invoke-with-loop tests 524s # Start of invoke-without-loop tests 524s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 524s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 524s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 524s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 524s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 524s # End of invoke-without-loop tests 524s # Start of invoke-in-loop tests 524s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 524s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 524s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 524s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 524s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 524s # End of invoke-in-loop tests 524s # Start of sync tests 524s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 524s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 524s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 524s # End of sync tests 524s # Start of async tests 524s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 524s ok 20 /tls-interaction/ask-password/async/async-implementation-success 524s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 524s # End of async tests 524s # End of ask-password tests 524s # Start of request-certificate tests 524s # Start of invoke-with-loop tests 524s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 524s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 524s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 524s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 524s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 524s # End of invoke-with-loop tests 524s # Start of invoke-without-loop tests 524s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 524s ok - glib/tls-interaction.test 524s # Running test: glib/gdbus-exit-on-close.test 524s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 524s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 524s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 524s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 524s # End of invoke-without-loop tests 524s # Start of invoke-in-loop tests 524s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 524s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 524s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 524s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 524s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 524s # End of invoke-in-loop tests 524s # Start of sync tests 524s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 524s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 524s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 524s # End of sync tests 524s # Start of async tests 524s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 524s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 524s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 524s # End of async tests 524s # End of request-certificate tests 524s # End of tls-interaction tests 524s TAP version 14 524s # random seed: R02Seeb6a99aab015f5f22480a17a9f149d8 524s 1..4 524s # Start of gdbus tests 524s # Start of exit-on-close tests 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/default/.dirs/runtime 524s ok 1 /gdbus/exit-on-close/default 524s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/home 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/cache 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/system-config2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/config 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/system-data2 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/data 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/state 524s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/true/.dirs/runtime 525s ok 2 /gdbus/exit-on-close/true 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/false/.dirs/runtime 525s ok 3 /gdbus/exit-on-close/false 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_71W452/gdbus/exit-on-close/we-close/.dirs/runtime 525s ok 4 /gdbus/exit-on-close/we-close 525s # Start of default tests 525s # End of default tests 525s # Start of true tests 525s # End of true tests 525s # Start of false tests 525s # End of false tests 525s # Start of we-close tests 525s # End of we-close tests 525s # End of exit-on-close tests 525s # End of gdbus tests 525s ok - glib/gdbus-exit-on-close.test 525s # Running test: glib/gdbus-serialization.test 525s TAP version 14 525s # random seed: R02S4754240a6f31606c54576a79c91ce067 525s 1..18 525s # Start of gdbus tests 525s # Start of message-serialize tests 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/basic/.dirs/runtime 525s ok 1 /gdbus/message-serialize/basic 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/complex/.dirs/runtime 525s ok 2 /gdbus/message-serialize/complex 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/invalid/.dirs/runtime 525s ok 3 /gdbus/message-serialize/invalid 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/.dirs/runtime 525s ok 4 /gdbus/message-serialize/header-checks 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/double-array/.dirs/runtime 525s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 525s ok 5 /gdbus/message-serialize/double-array 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/empty-structure/.dirs/runtime 525s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 525s ok 6 /gdbus/message-serialize/empty-structure 525s # Start of header-checks tests 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-serialize/header-checks/valid/.dirs/runtime 525s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 525s ok 7 /gdbus/message-serialize/header-checks/valid 525s # End of header-checks tests 525s # End of message-serialize tests 525s # Start of message-parse tests 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 525s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 525s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/non-signature-header/.dirs/runtime 525s ok 9 /gdbus/message-parse/non-signature-header 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-signature-header/.dirs/runtime 525s ok 10 /gdbus/message-parse/empty-signature-header 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/multiple-signature-header/.dirs/runtime 525s ok 11 /gdbus/message-parse/multiple-signature-header 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/over-long-signature-header/.dirs/runtime 525s ok 12 /gdbus/message-parse/over-long-signature-header 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-header-nesting/.dirs/runtime 525s ok 13 /gdbus/message-parse/deep-header-nesting 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/deep-body-nesting/.dirs/runtime 525s ok 14 /gdbus/message-parse/deep-body-nesting 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/truncated/.dirs/runtime 525s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 525s ok 15 /gdbus/message-parse/truncated 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/empty-structure/.dirs/runtime 525s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 525s ok 16 /gdbus/message-parse/empty-structure 525s ok - glib/gdbus-serialization.test 525s # Running test: glib/thread-deprecated.test 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/missing-header/.dirs/runtime 525s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 525s ok 17 /gdbus/message-parse/missing-header 525s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/home 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/cache 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/system-config2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/config 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/system-data2 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/data 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/state 525s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_G8DW52/gdbus/message-parse/invalid-header-type/.dirs/runtime 525s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 525s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 525s ok 18 /gdbus/message-parse/invalid-header-type 525s # End of message-parse tests 525s # End of gdbus tests 525s TAP version 14 525s # random seed: R02Se10a6a8748b2a0df54d800afea617a96 525s 1..6 525s # Start of thread tests 525s ok 1 /thread/mutex 525s ok 2 /thread/static-rec-mutex 528s # Executing: glib/thread-deprecated.test 530s ok 3 /thread/static-private 530s # slow test /thread/static-private executed in 4.41 secs 533s # Executing: glib/thread-deprecated.test 535s ok 4 /thread/static-rw-lock 535s # slow test /thread/static-rw-lock executed in 5.00 secs 535s ok 5 /thread/once 538s # Executing: glib/thread-deprecated.test 543s # Executing: glib/thread-deprecated.test 545s ok 6 /thread/rerun-all 545s # slow test /thread/rerun-all executed in 9.82 secs 545s # End of thread tests 545s ok - glib/thread-deprecated.test 545s # Running test: glib/converter.test 545s TAP version 14 545s # random seed: R02Sb62ebda87d0f31d31f4e67704635c65f 545s 1..2 545s # Start of converter tests 545s ok 1 /converter/bytes 545s ok 2 /converter/extra-bytes-at-end 545s # End of converter tests 545s ok - glib/converter.test 545s # Running test: glib/memory-settings-backend.test 545s TAP version 14 545s # random seed: R02S86138ed9fa581a4c6afd331e511b38b5 545s 1..1 545s # Start of memory-settings-backend tests 545s ok 1 /memory-settings-backend/extension-point-registered 545s # End of memory-settings-backend tests 545s ok - glib/memory-settings-backend.test 545s # Running test: glib/value.test 545s TAP version 14 545s ok - glib/value.test 545s # Running test: glib/readwrite.test 545s ok - glib/readwrite.test 545s # Running test: glib/object.test 545s ok - glib/object.test 545s # Running test: glib/uri.test 545s # random seed: R02S2c2ceabe878644ab2c45a6878f0b7b0a 545s 1..9 545s # Start of value tests 545s ok 1 /value/basic 545s ok 2 /value/collection 545s ok 3 /value/copying 545s ok 4 /value/enum-transformation 545s ok 5 /value/gtype 545s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 545s ok 6 /value/string 545s # Next: GObject object in GValue of GObject to GValue of GObject 545s # Next: GObject object in GValue of GObject to GValue of TestInterface 545s # Next: GObject object in GValue of GObject to GValue of TestObjectA 545s # Next: GObject object in GValue of GObject to GValue of TestObjectB 545s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 545s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 545s # Next: TestObjectA object in GValue of GObject to GValue of GObject 545s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 545s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 545s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 545s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 545s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 545s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 545s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 545s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 545s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 545s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 545s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 545s # Next: TestObjectB object in GValue of GObject to GValue of GObject 545s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 545s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 545s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 545s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 545s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 545s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 545s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 545s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 545s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 545s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 545s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 545s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 545s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 545s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 545s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 545s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 545s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 545s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 545s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 545s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 545s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 545s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 545s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 545s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 545s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 545s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 545s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 545s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 545s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 545s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 545s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 545s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 545s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 545s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 545s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 545s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 545s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 545s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 545s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 545s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 545s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 545s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 545s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 545s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 545s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 545s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 545s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 545s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 545s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 545s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 545s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 545s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 545s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 545s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 545s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 545s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 545s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 545s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 545s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 545s ok 7 /value/transform-object 545s # Start of array tests 545s ok 8 /value/array/basic 545s ok 9 /value/array/sort-with-data 545s # End of array tests 545s # End of value tests 545s TAP version 14 545s # random seed: R02Scf0c208a24d129725a4d20c2c96126da 545s 1..3 545s # Start of readwrite tests 545s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 545s ok 1 /readwrite/test_g_file_open_readwrite 545s ok 2 /readwrite/test_g_file_create_readwrite 545s ok 3 /readwrite/test_g_file_replace_readwrite 545s # End of readwrite tests 545s TAP version 14 545s # random seed: R02S423c37601611d6e6d9be625ddb2f16b4 545s 1..2 545s # Start of object tests 545s # Start of constructor tests 545s ok 1 /object/constructor/singleton 545s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 545s # End of constructor tests 545s # End of object tests 545s TAP version 14 545s # random seed: R02Sf54977b184b417810270ffb3cbef4b6d 545s 1..24 545s # Start of uri tests 545s ok 1 /uri/file-to-uri 545s ok 2 /uri/file-from-uri 545s ok 3 /uri/file-roundtrip 545s ok 4 /uri/list 545s # Test 0: %2Babc %4F 545s # Test 1: %2Babc %4F 545s # Test 2: %00abc %4F 545s # Test 3: /cursors/none.png 545s # Test 4: /cursors%2fbad-subdir/none.png 545s # Test 5: %0 545s # Test 6: %ra 545s # Test 7: %2r 545s # Test 8: Timm B?der 545s # Test 9: (null) 545s ok 5 /uri/unescape-string 545s ok 6 /uri/unescape-segment 545s # Test 0: abcdefgABCDEFG._~ 545s # Test 1: :+ \\?# 545s # Test 2: a+b:c 545s # Test 3: a+b:c\303\234 545s # Test 4: \374;\322 545s # Test 5: \303\261\303( 545s ok 7 /uri/escape-string 545s ok 8 /uri/escape-bytes 545s ok 9 /uri/scheme 545s ok 10 /uri/build 545s ok 11 /uri/split 545s ok 12 /uri/is_valid 545s ok 13 /uri/to-string 545s ok 14 /uri/join 545s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 545s # Combination 0 545s # Combination 1 545s # Combination 2 545s # Combination 3 545s # Combination 4 545s # Combination 5 545s # Combination 6 545s # Combination 7 545s # Combination 8 545s # Combination 9 545s # Combination 10 545s # Combination 11 545s # Combination 12 545s # Combination 13 545s # Combination 14 545s # Combination 15 545s # Combination 16 545s # Combination 17 545s # Combination 18 545s # Combination 19 545s # Combination 20 545s # Combination 21 545s # Combination 22 545s # Combination 23 545s # Combination 24 545s # Combination 25 545s # Combination 26 545s # Combination 27 545s # Combination 28 545s # Combination 29 545s # Combination 30 545s # Combination 31 545s # Combination 32 545s # Combination 33 545s # Combination 34 545s # Combination 35 545s # Combination 36 545s # Combination 37 545s # Combination 38 545s # Combination 39 545s # Combination 40 545s # Combination 41 545s # Combination 42 545s # Combination 43 545s # Combination 44 545s # Combination 45 545s # Combination 46 545s # Combination 47 545s # Combination 48 545s # Combination 49 545s # Combination 50 545s # Combination 51 545s # Combination 52 545s # Combination 53 545s # Combination 54 545s # Combination 55 545s # Combination 56 545s # Combination 57 545s # Combination 58 545s # Combination 59 545s # Combination 60 545s # Combination 61 545s # Combination 62 545s # Combination 63 545s # Combination 64 545s # Combination 65 545s # Combination 66 545s # Combination 67 545s # Combination 68 545s # Combination 69 545s # Combination 70 545s # Combination 71 545s # Combination 72 545s # Combination 73 545s # Combination 74 545s # Combination 75 545s # Combination 76 545s # Combination 77 545s # Combination 78 545s # Combination 79 545s # Combination 80 545s # Combination 81 545s # Combination 82 545s # Combination 83 545s # Combination 84 545s # Combination 85 545s # Combination 86 545s # Combination 87 545s # Combination 88 545s # Combination 89 545s # Combination 90 545s # Combination 91 545s # Combination 92 545s # Combination 93 545s # Combination 94 545s # Combination 95 545s # Combination 96 545s # Combination 97 545s # Combination 98 545s # Combination 99 545s # Combination 100 545s # Combination 101 545s # Combination 102 545s # Combination 103 545s # Combination 104 545s # Combination 105 545s # Combination 106 545s # Combination 107 545s # Combination 108 545s # Combination 109 545s # Combination 110 545s # Combination 111 545s # Combination 112 545s # Combination 113 545s # Combination 114 545s # Combination 115 545s # Combination 116 545s # Combination 117 545s # Combination 118 545s # Combination 119 545s # Combination 120 545s # Combination 121 545s # Combination 122 545s # Combination 123 545s # Combination 124 545s # Combination 125 545s # Combination 126 545s # Combination 127 545s # Combination 128 545s # Combination 129 545s # Combination 130 545s # Combination 131 545s # Combination 132 545s # Combination 133 545s # Combination 134 545s # Combination 135 545s # Combination 136 545s # Combination 137 545s # Combination 138 545s # Combination 139 545s # Combination 140 545s # Combination 141 545s # Combination 142 545s # Combination 143 545s # Combination 144 545s # Combination 145 545s # Combination 146 545s # Combination 147 545s # Combination 148 545s # Combination 149 545s # Combination 150 545s # Combination 151 545s # Combination 152 545s # Combination 153 545s # Combination 154 545s # Combination 155 545s # Combination 156 545s # Combination 157 545s # Combination 158 545s # Combination 159 545s # Combination 160 545s # Combination 161 545s # Combination 162 545s # Combination 163 545s # Combination 164 545s # Combination 165 545s # Combination 166 545s # Combination 167 545s # Combination 168 545s # Combination 169 545s # Combination 170 545s # Combination 171 545s # Combination 172 545s # Combination 173 545s # Combination 174 545s # Combination 175 545s # Combination 176 545s # Combination 177 545s # Combination 178 545s # Combination 179 545s # Combination 180 545s # Combination 181 545s # Combination 182 545s # Combination 183 545s # Combination 184 545s # Combination 185 545s # Combination 186 545s # Combination 187 545s # Combination 188 545s # Combination 189 545s # Combination 190 545s # Combination 191 545s # Combination 192 545s # Combination 193 545s # Combination 194 545s # Combination 195 545s # Combination 196 545s # Combination 197 545s # Combination 198 545s # Combination 199 545s # Combination 200 545s # Combination 201 545s # Combination 202 545s # Combination 203 545s # Combination 204 545s # Combination 205 545s # Combination 206 545s # Combination 207 545s # Combination 208 545s # Combination 209 545s # Combination 210 545s # Combination 211 545s # Combination 212 545s # Combination 213 545s # Combination 214 545s # Combination 215 545s # Combination 216 545s # Combination 217 545s # Combination 218 545s # Combination 219 545s # Combination 220 545s # Combination 221 545s # Combination 222 545s # Combination 223 545s # Combination 224 545s # Combination 225 545s # Combination 226 545s # Combination 227 545s # Combination 228 545s # Combination 229 545s # Combination 230 545s # Combination 231 545s # Combination 232 545s # Combination 233 545s # Combination 234 545s # Combination 235 545s # Combination 236 545s # Combination 237 545s # Combination 238 545s # Combination 239 545s # Combination 240 545s # Combination 241 545s # Combination 242 545s # Combination 243 545s # Combination 244 545s # Combination 245 545s # Combination 246 545s # Combination 247 545s # Combination 248 545s # Combination 249 545s # Combination 250 545s # Combination 251 545s # Combination 252 545s # Combination 253 545s # Combination 254 545s # Combination 255 545s ok 15 /uri/join-split-round-trip 545s ok 16 /uri/normalize 545s # Start of unescape-bytes tests 545s # Test 0: %00%00 545s # Test 1: /cursors/none.png 545s # Test 2: /cursors%2fbad-subdir/none.png 545s # Test 3: %% 545s # Test 4: % 545s ok 17 /uri/unescape-bytes/nul-terminated 545s # Test 0: %00%00 545s # Test 1: /cursors/none.png 545s # Test 2: /cursors%2fbad-subdir/none.png 545s # Test 3: %% 545s # Test 4: % 545s ok 18 /uri/unescape-bytes/length 545s # End of unescape-bytes tests 545s # Start of parsing tests 545s # Test 0: foo: 545s # Test 1: file:/dev/null 545s # Test 2: file:///dev/null 545s # Test 3: ftp://user@host/path 545s # Test 4: ftp://user@host:9999/path 545s # Test 5: ftp://user:password@host/path 545s # Test 6: ftp://user:password@host:9999/path 545s # Test 7: ftp://user:password@host 545s # Test 8: http://us%65r@host 545s # Test 9: http://us%40r@host 545s # Test 10: http://us%3ar@host 545s # Test 11: http://us%2fr@host 545s # Test 12: http://us%3fr@host 545s # Test 13: http://host?query 545s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 545s # 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 545s # Test 16: http://space/%20 545s # Test 17: http://delims/%3C%3E%23%25%22 545s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 545s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 545s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 545s # Test 21: http://[3ffe:2a00:100:7031::1] 545s # Test 22: http://[1080::8:800:200C:417A]/foo 545s # Test 23: http://[::192.9.5.5]/ipng 545s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 545s # Test 25: http://[2010:836B:4179::836B:4179] 545s # Test 26: http://host/path with spaces 545s # Test 27: http://host/path 545s # Test 28: http://host/path 545s # Test 29: http://host 545s # Test 30: http://host:999 545s # Test 31: http://host/pa 545s # th 545s # Test 32: http: 545s # //host/path 545s # Test 33: http:// host/path 545s # Test 34: http://host/path? 545s # Test 35: http://host/path# 545s # Test 36: http://host/path% 545s # Test 37: http://h%ost/path 545s # Test 38: http://host/path%% 545s # Test 39: http://host/path%%% 545s # Test 40: http://host/path%/x/ 545s # Test 41: http://host/path%0x/ 545s # Test 42: http://host/path%ax 545s # Test 43: http://host/p?th/ 545s # Test 44: HTTP://////////////// 545s # Test 45: http://@host 545s # Test 46: http://:@host 545s # Test 47: scheme://foo%3Abar._webdav._tcp.local 545s # Test 48: http://example.com/.. 545s # Test 49: foo0://host/path 545s # Test 50: f0.o://host/path 545s # Test 51: http++://host/path 545s # Test 52: http-ish://host/path 545s # Test 53: http://[fe80::dead:beef%]/ 545s # Test 54: http://[fe80::dead:beef%em1]/ 545s # Test 55: http://[fe80::dead:beef%em1]/ 545s # Test 56: http://[fe80::dead:beef%25em1]/ 545s # Test 57: http://[fe80::dead:beef%25em1%20]/ 545s # Test 58: http://[fe80::dead:beef%25em%31]/ 545s # Test 59: http://[fe80::dead:beef%10]/ 545s # Test 60: http://[fe80::dead:beef%10]/ 545s # Test 61: http://[fe80::dead:beef%25]/ 545s # Test 62: http://[fe80::dead:beef%25]/ 545s # Test 63: http://[192.168.0.1%25em1]/ 545s # Test 64: http://[fe80::dead:beef%2em1]/ 545s # Test 65: http://[fe80::dead:beef%2em1]/ 545s # Test 66: http://[fe80::dead:beef%25em1%00]/ 545s # Test 67: http://[fe80::dead:beef%25em1%00]/ 545s # Test 68: http://xn--mixed-?p/ 545s # Test 69: data:./// 545s # Test 70: data:/.// 545s ok 19 /uri/parsing/absolute 545s ok 20 /uri/parsing/relative 545s # End of parsing tests 545s # Start of iter-params tests 545s # URI 0: p1=foo&p2=bar;p3=baz 545s # URI 1: p1=foo&p2=bar 545s # URI 2: p1=foo&&P1=bar 545s # URI 3: %00=foo 545s # URI 4: p1=%00 545s # URI 5: p1=foo&p1=bar 545s # URI 6: p1=foo&P1=bar 545s # URI 7: =% 545s # URI 8: = 545s # URI 9: foo 545s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 545s ok 21 /uri/iter-params/nul-terminated 545s # URI 0: p1=foo&p2=bar;p3=baz 545s # URI 1: p1=foo&p2=bar 545s # URI 2: p1=foo&&P1=bar 545s # URI 3: %00=foo 545s # Uok - glib/uri.test 545s # Running test: glib/gnotification.test 545s ok - glib/gnotification.test 545s # Running test: glib/gapplication.test 545s RI 4: p1=%00 545s # URI 5: p1=foo&p1=bar 545s # URI 6: p1=foo&P1=bar 545s # URI 7: =% 545s # URI 8: = 545s # URI 9: foo 545s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 545s ok 22 /uri/iter-params/length 545s # End of iter-params tests 545s # Start of parse-params tests 545s # URI 0: p1=foo&p2=bar;p3=baz 545s # URI 1: p1=foo&p2=bar 545s # URI 2: p1=foo&&P1=bar 545s # URI 3: %00=foo 545s # URI 4: p1=%00 545s # URI 5: p1=foo&p1=bar 545s # URI 6: p1=foo&P1=bar 545s # URI 7: =% 545s # URI 8: = 545s # URI 9: foo 545s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 545s ok 23 /uri/parse-params/nul-terminated 545s # URI 0: p1=foo&p2=bar;p3=baz 545s # URI 1: p1=foo&p2=bar 545s # URI 2: p1=foo&&P1=bar 545s # URI 3: %00=foo 545s # URI 4: p1=%00 545s # URI 5: p1=foo&p1=bar 545s # URI 6: p1=foo&P1=bar 545s # URI 7: =% 545s # URI 8: = 545s # URI 9: foo 545s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 545s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 545s ok 24 /uri/parse-params/length 545s # End of parse-params tests 545s # End of uri tests 545s TAP version 14 545s # random seed: R02S6d8f00460e7dfaf27a61c526d09890e2 545s 1..2 545s # Start of gnotification tests 545s ok 1 /gnotification/basic 545s ok 2 /gnotification/properties 545s # End of gnotification tests 545s TAP version 14 545s # random seed: R02S8db2496bcd1462c28a99d66d10c0d49c 545s 1..24 545s # Start of gapplication tests 545s ok 1 /gapplication/no-dbus 545s ok 2 /gapplication/no-appid 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 3 /gapplication/properties 545s ok 4 /gapplication/app-id 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 5 /gapplication/quit 545s ok 6 /gapplication/registered 545s ok 7 /gapplication/local-actions 545s ok 8 /gapplication/local-command-line 545s ok 9 /gapplication/resource-path 545s ok 10 /gapplication/test-help 545s ok 11 /gapplication/command-line-done 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 12 /gapplication/test-busy 545s ok 13 /gapplication/test-handle-local-options1 545s ok 14 /gapplication/test-handle-local-options2 545s ok 15 /gapplication/test-handle-local-options3 545s ok 16 /gapplication/api 545s ok 17 /gapplication/version 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # launching subprocess 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 18 /gapplication/replace 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # launching subprocess 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 19 /gapplication/no-replace 545s # slow test /gapplication/no-replace executed in 0.51 secs 545s # Start of dbus tests 545s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # Message 0 545s # Message 1 545s # Message 2 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 20 /gapplication/dbus/activate 545s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # Message 0 545s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 545s # Message 1 545s # Message 2 545s # Message 3 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 21 /gapplication/dbus/open 545s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # Message 0 545s # Message 1 545s # Message 2 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 22 /gapplication/dbus/command-line 545s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok - glib/gapplication.test 545s # Running test: glib/fileattributematcher.test 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 23 /gapplication/dbus/command-line-done 545s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 545s # Message 0 545s # Message 1 545s # Message 2 545s # Message 3 545s # Message 4 545s # Message 5 545s # Message 6 545s # Message 7 545s # Message 8 545s # Message 9 545s # Message 10 545s # Message 11 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 545s ok 24 /gapplication/dbus/activate-action 545s # End of dbus tests 545s # End of gapplication tests 545s TAP version 14 545s # random seed: R02S8c403af1ee6e99cae3a8ad13d652cd0d 545s 1..3 545s # Start of fileattributematcher tests 545s ok 1 /fileattributematcher/exact 545s ok 2 /fileattributematcher/equality 545s ok - glib/fileattributematcher.test 545s # Running test: glib/tls-certificate.test 545s ok - glib/tls-certificate.test 545s # Running test: glib/gvariant.test 545s ok 3 /fileattributematcher/subtract 545s # End of fileattributematcher tests 545s TAP version 14 545s # random seed: R02S49786fee5f9a04cb4f01168bd3cd8bed 545s 1..19 545s # Start of tls-certificate tests 545s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 545s ok 1 /tls-certificate/pem-parser 545s ok 2 /tls-certificate/pem-parser-handles-chain 545s ok 3 /tls-certificate/from_file 545s ok 4 /tls-certificate/from_files 545s ok 5 /tls-certificate/from_files_crlf 545s ok 6 /tls-certificate/from_files_pkcs8 545s ok 7 /tls-certificate/from_files_pkcs8enc 545s ok 8 /tls-certificate/list_from_file 545s ok 9 /tls-certificate/pkcs11-uri 545s ok 10 /tls-certificate/pkcs11-uri-unsupported 545s ok 11 /tls-certificate/from_pkcs12 545s ok 12 /tls-certificate/from_pkcs12_file 545s ok 13 /tls-certificate/not-valid-before 545s ok 14 /tls-certificate/not-valid-after 545s ok 15 /tls-certificate/subject-name 545s ok 16 /tls-certificate/issuer-name 545s ok 17 /tls-certificate/dns-names 545s ok 18 /tls-certificate/ip-addresses 545s ok 19 /tls-certificate/pem-parser-no-sentinel 545s # End of tls-certificate tests 545s TAP version 14 545s # random seed: R02S10afb86b94e0a3761ccf4bf675b78d8b 545s 1..69 545s # Start of gvariant tests 545s ok 1 /gvariant/type 545s ok 2 /gvariant/typeinfo 545s ok 3 /gvariant/string 545s ok 4 /gvariant/utf8 545s ok 5 /gvariant/utf8-new-strings 546s ok 6 /gvariant/containers 546s ok 7 /gvariant/format-strings 546s ok 8 /gvariant/invalid-varargs 546s ok 9 /gvariant/varargs 546s ok 10 /gvariant/valist 546s ok 11 /gvariant/builder-memory 546s ok 12 /gvariant/hashing 546s ok 13 /gvariant/byteswap 546s ok 14 /gvariant/parser 546s ok 15 /gvariant/parse-failures 546s ok 16 /gvariant/parse-positional 546s ok 17 /gvariant/floating 546s ok 18 /gvariant/bytestring 546s ok 19 /gvariant/lookup-value 546s ok 20 /gvariant/lookup 546s ok 21 /gvariant/compare 546s ok 22 /gvariant/equal 546s ok 23 /gvariant/fixed-array 546s ok 24 /gvariant/check-format-string 546s ok 25 /gvariant/checksum-basic 546s ok 26 /gvariant/checksum-nested 546s ok 27 /gvariant/gbytes 546s ok 28 /gvariant/print-context 546s ok 29 /gvariant/error-quark 546s ok 30 /gvariant/stack-builder-init 546s ok 31 /gvariant/stack-builder-init-static 546s ok 32 /gvariant/stack-builder-init-unset 546s ok 33 /gvariant/stack-dict-init 546s ok 34 /gvariant/unaligned-construction 546s # Start of type tests 546s # Start of string-scan tests 546s # Start of recursion tests 546s ok 35 /gvariant/type/string-scan/recursion/tuple 546s ok 36 /gvariant/type/string-scan/recursion/array 546s # End of recursion tests 546s # End of string-scan tests 546s # End of type tests 546s # Start of serialiser tests 546s ok 37 /gvariant/serialiser/maybe 546s ok 38 /gvariant/serialiser/array 546s ok 39 /gvariant/serialiser/tuple 546s ok 40 /gvariant/serialiser/variant 546s ok 41 /gvariant/serialiser/strings 548s # Executing: glib/gvariant.test 549s ok 42 /gvariant/serialiser/byteswap 549s # slow test /gvariant/serialiser/byteswap executed in 3.10 secs 549s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 549s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 549s ok 43 /gvariant/serialiser/children 549s # Start of byteswap tests 549s ok 44 /gvariant/serialiser/byteswap/zero-sized 549s # End of byteswap tests 549s # Start of fuzz tests 549s ok 45 /gvariant/serialiser/fuzz/1% 549s ok 46 /gvariant/serialiser/fuzz/5% 550s ok 47 /gvariant/serialiser/fuzz/9% 550s ok 48 /gvariant/serialiser/fuzz/13% 550s ok 49 /gvariant/serialiser/fuzz/17% 550s # End of fuzz tests 550s # End of serialiser tests 550s # Start of utf8 tests 550s # Start of subprocess tests 550s # End of subprocess tests 550s # End of utf8 tests 550s # Start of varargs tests 550s # Start of subprocess tests 550s # End of subprocess tests 550s # End of varargs tests 550s # Start of byteswap tests 550s # /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. 550s ok 50 /gvariant/byteswap/non-normal-non-aligned 550s # End of byteswap tests 550s # Start of parser tests 550s ok 51 /gvariant/parser/integer-bounds 550s ok 52 /gvariant/parser/recursion 550s # Start of recursion tests 550s ok 53 /gvariant/parser/recursion/typedecls 550s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 550s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 550s # Text form 0: @mmmu 5 550s # Text form 1: @mmmas ['hello'] 550s # Text form 2: @mmmu just just nothing 550s # Text form 3: @mmmas just just nothing 550s # Text form 4: @mmmu just nothing 550s # Text form 5: @mmmas just nothing 550s # Text form 6: @mmmu nothing 550s # Text form 7: @mmmas nothing 550s ok 54 /gvariant/parser/recursion/maybes 550s # End of recursion tests 550s # End of parser tests 550s # Start of parse tests 550s # Start of subprocess tests 550s # End of subprocess tests 550s # End of parse tests 550s # Start of normal-checking tests 550s ok 55 /gvariant/normal-checking/tuples 550s ok 56 /gvariant/normal-checking/array-offsets 550s ok 57 /gvariant/normal-checking/array-offsets2 550s ok 58 /gvariant/normal-checking/tuple-offsets 550s ok 59 /gvariant/normal-checking/tuple-offsets2 550s ok 60 /gvariant/normal-checking/tuple-offsets3 550s ok 61 /gvariant/normal-checking/tuple-offsets4 550s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 550s ok 62 /gvariant/normal-checking/tuple-offsets5 550s ok 63 /gvariant/normal-checking/empty-object-path 550s # Start of array-offsets tests 550s ok 64 /gvariant/normal-checking/array-offsets/overlapped 550s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 550s # End of array-offsets tests 550s # Start of tuple-offsets tests 550s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 550s # End of tuple-offsets tests 550s # End of normal-checking tests 550s # Start of recursion-limits tests 550s ok 67 /gvariant/recursion-limits/variant-in-variant 550s ok 68 /gvariant/recursion-limits/array-in-variant 550s # End of recursion-limits tests 550s # End of gvariant tests 550s # Start of gvarianttype tests 550s ok 69 /gvarianttype/hash 550s # End of gvarianttype tests 550s ok - glib/gvariant.test 550s # Running test: glib/gdatetime.test 550s TAP version 14 550s # random seed: R02S1845b36096e3b72647f5ecc1c8c63365 550s 1..68 550s # Start of GDateTime tests 550s # Bug Reference: http://bugzilla.gnome.org/702674 550s ok 1 /GDateTime/invalid 550s ok 2 /GDateTime/add_days 550s ok 3 /GDateTime/add_full 550s ok 4 /GDateTime/add_hours 550s ok 5 /GDateTime/add_minutes 550s ok 6 /GDateTime/add_months 550s ok 7 /GDateTime/add_seconds 550s ok 8 /GDateTime/add_weeks 550s ok 9 /GDateTime/add_years 550s ok 10 /GDateTime/compare 550s ok 11 /GDateTime/diff 550s ok 12 /GDateTime/equal 550s ok 13 /GDateTime/get_day_of_week 550s ok 14 /GDateTime/get_day_of_month 550s ok 15 /GDateTime/get_day_of_year 550s ok 16 /GDateTime/get_hour 550s ok 17 /GDateTime/get_microsecond 550s ok 18 /GDateTime/get_minute 550s ok 19 /GDateTime/get_month 550s ok 20 /GDateTime/get_second 550s ok 21 /GDateTime/get_utc_offset 550s ok 22 /GDateTime/get_year 550s ok 23 /GDateTime/hash 550s ok 24 /GDateTime/new_from_unix 550s ok 25 /GDateTime/new_from_unix_utc 550s ok 26 /GDateTime/new_from_timeval 550s ok 27 /GDateTime/new_from_timeval_utc 550s ok 28 /GDateTime/new_from_iso8601 550s ok 29 /GDateTime/new_full 550s ok 30 /GDateTime/now 550s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 550s ok 31 /GDateTime/test-6-days-until-end-of-the-month 550s # %a -> expected: Sat 550s # %a -> actual: Sat 550s # %A -> expected: Saturday 550s # %A -> actual: Saturday 550s # %b -> expected: Oct 550s # %b -> actual: Oct 550s # %B -> expected: October 550s # %B -> actual: October 550s # %d -> expected: 24 550s # %d -> actual: 24 550s # %d -> expected: 01 550s # %d -> actual: 01 550s # %e -> expected: 24 550s # %e -> actual: 24 550s # %e -> expected:  1 550s # %e -> actual:  1 550s # %f -> expected: 001000 550s # %f -> actual: 001000 550s # %h -> expected: Oct 550s # %h -> actual: Oct 550s # %H -> expected: 00 550s # %H -> actual: 00 550s # %H -> expected: 15 550s # %H -> actual: 15 550s # %I -> expected: 12 550s # %I -> actual: 12 550s # %I -> expected: 12 550s # %I -> actual: 12 550s # %I -> expected: 03 550s # %I -> actual: 03 550s # %j -> expected: 297 550s # %j -> actual: 297 550s # %k -> expected:  0 550s # %k -> actual:  0 550s # %k -> expected: 13 550s # %k -> actual: 13 550s # %l -> expected: 12 550s # %l -> actual: 12 550s # %I -> expected: 12 550s # %I -> actual: 12 550s # %l -> expected:  1 550s # %l -> actual:  1 550s # %l -> expected: 10 550s # %l -> actual: 10 550s # %m -> expected: 10 550s # %m -> actual: 10 550s # %M -> expected: 00 550s # %M -> actual: 00 550s # %p -> expected: AM 550s # %p -> actual: AM 550s # %p -> expected: PM 550s # %p -> actual: PM 550s # %P -> expected: am 550s # %P -> actual: am 550s # %P -> expected: pm 550s # %P -> actual: pm 550s # %r -> expected: 12:00:00 AM 550s # %r -> actual: 12:00:00 AM 550s # %r -> expected: 01:13:13 PM 550s # %r -> actual: 01:13:13 PM 550s # %R -> expected: 00:00 550s # %R -> actual: 00:00 550s # %R -> expected: 13:13 550s # %R -> actual: 13:13 550s # %S -> expected: 00 550s # %S -> actual: 00 550s # %t -> expected: 550s # %t -> actual: 550s # %u -> expected: 6 550s # %u -> actual: 6 550s # %x -> expected: 10/24/09 550s # %x -> actual: 10/24/09 550s # %X -> expected: 00:00:00 550s # %X -> actual: 00:00:00 550s # %X -> expected: 13:14:15 550s # %X -> actual: 13:14:15 550s # %y -> expected: 09 550s # %y -> actual: 09 550s # %Y -> expected: 2009 550s # %Y -> actual: 2009 550s # %% -> expected: % 550s # %% -> actual: % 550s # % -> expected: 550s # % -> actual: 550s # %9 -> expected: (null) 550s # %9 -> actual: (null) 550s # %Z -> expected: UTC 550s # %Z -> actual: UTC 550s # %#Z %Z -> expected: utc UTC 550s # %#Z %Z -> actual: utc UTC 550s ok 32 /GDateTime/printf 550s # %a -> expected: ÅÚ 550s # %a -> actual: ÅÚ 550s # %A -> expected: ÅÚÍËÆü 550s # %A -> actual: ÅÚÍËÆü 550s # %b -> expected: 10·î 550s # %b -> actual: 10·î 550s # %B -> expected: 10·î 550s # %B -> actual: 10·î 550s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 550s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 550s # %C -> expected: 20 550s # %C -> actual: 20 550s # %d -> expected: 24 550s # %d -> actual: 24 550s # %d -> expected: 01 550s # %d -> actual: 01 550s # %e -> expected: 24 550s # %e -> actual: 24 550s # %h -> expected: 10·î 550s # %h -> actual: 10·î 550s # %H -> expected: 00 550s # %H -> actual: 00 550s # %H -> expected: 15 550s # %H -> actual: 15 550s # %I -> expected: 12 550s # %I -> actual: 12 550s # %I -> expected: 12 550s # %I -> actual: 12 550s # %I -> expected: 03 550s # %I -> actual: 03 550s # %j -> expected: 297 550s # %j -> actual: 297 550s # %k -> expected: ?0 550s # %k -> actual: ?0 550s # %k -> expected: 13 550s # %k -> actual: 13 550s # %l -> expected: 12 550s # %l -> actual: 12 550s # %I -> expected: 12 550s # %I -> actual: 12 550s # %l -> expected: ?1 550s # %l -> actual: ?1 550s # %l -> expected: 10 550s # %l -> actual: 10 550s # %m -> expected: 10 550s # %m -> actual: 10 550s # %M -> expected: 00 550s # %M -> actual: 00 550s # %p -> expected: ¸áÁ° 550s # %p -> actual: ¸áÁ° 550s # %p -> expected: ¸á¸å 550s # %p -> actual: ¸á¸å 550s # %P -> expected: ¸áÁ° 550s # %P -> actual: ¸áÁ° 550s # %P -> expected: ¸á¸å 550s # %P -> actual: ¸á¸å 550s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 550s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 550s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 550s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 550s # %R -> expected: 00:00 550s # %R -> actual: 00:00 550s # %R -> expected: 13:13 550s # %R -> actual: 13:13 550s # %S -> expected: 00 550s # %S -> actual: 00 550s # %t -> expected: 550s # %t -> actual: 550s # %u -> expected: 6 550s # %u -> actual: 6 550s # %x -> expected: 2009ǯ10·î24Æü 550s # %x -> actual: 2009ǯ10·î24Æü 550s # %X -> expected: 00»þ00ʬ00Éà 550s # %X -> actual: 00»þ00ʬ00Éà 550s # %X -> expected: 13»þ14ʬ15Éà 550s # %X -> actual: 13»þ14ʬ15Éà 550s # %y -> expected: 09 550s # %y -> actual: 09 550s # %Y -> expected: 2009 550s # %Y -> actual: 2009 550s # %% -> expected: % 550s # %% -> actual: % 550s # % -> expected: 550s # % -> actual: 550s # %9 -> expected: (null) 550s # %9 -> actual: (null) 550s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 550s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 550s # %EC -> expected: Ê¿À® 550s # %EC -> actual: Ê¿À® 550s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 550s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 550s # %EX -> expected: 00»þ00ʬ00Éà 550s # %EX -> actual: 00»þ00ʬ00Éà 550s # %Ey -> expected: 21 550s # %Ey -> actual: 21 550s # %EY -> expected: Ê¿À®21ǯ 550s # %EY -> actual: Ê¿À®21ǯ 550s ok 33 /GDateTime/non_utf8_printf 550s # ???? -> expected: ???? 550s # ???? -> actual: ???? 550s # %H?%M -> expected: 23?15 550s # %H?%M -> actual: 23?15 550s # %H?%M -> expected: 23?15 550s # %H?%M -> actual: 23?15 550s ok 34 /GDateTime/format_unrepresentable 550s ok 35 /GDateTime/format_iso8601 550s ok 36 /GDateTime/strftime 550s # %d -> expected: 01 550s # %d -> actual: 01 550s # %_d -> expected: 1 550s # %_d -> actual: 1 550s # %-d -> expected: 1 550s # %-d -> actual: 1 550s # %0d -> expected: 01 550s # %0d -> actual: 01 550s # %d -> expected: 21 550s # %d -> actual: 21 550s # %_d -> expected: 21 550s # %_d -> actual: 21 550s # %-d -> expected: 21 550s # %-d -> actual: 21 550s # %0d -> expected: 21 550s # %0d -> actual: 21 550s # %e -> expected:  1 550s # %e -> actual:  1 550s # %_e -> expected: 1 550s # %_e -> actual: 1 550s # %-e -> expected: 1 550s # %-e -> actual: 1 550s # %0e -> expected: 01 550s # %0e -> actual: 01 550s # %e -> expected: 21 550s # %e -> actual: 21 550s # %_e -> expected: 21 550s # %_e -> actual: 21 550s # %-e -> expected: 21 550s # %-e -> actual: 21 550s # %0e -> expected: 21 550s # %0e -> actual: 21 550s # %a -> expected: Thu 550s # %a -> actual: Thu 550s # %^a -> expected: THU 550s # %^a -> actual: THU 550s # %#a -> expected: THU 550s # %#a -> actual: THU 550s # %A -> expected: Thursday 550s # %A -> actual: Thursday 550s # %^A -> expected: THURSDAY 550s # %^A -> actual: THURSDAY 550s # %#A -> expected: THURSDAY 550s # %#A -> actual: THURSDAY 550s # %b -> expected: Jan 550s # %b -> actual: Jan 550s # %^b -> expected: JAN 550s # %^b -> actual: JAN 550s # %#b -> expected: JAN 550s # %#b -> actual: JAN 550s # %B -> expected: January 550s # %B -> actual: January 550s # %^B -> expected: JANUARY 550s # %^B -> actual: JANUARY 550s # %#B -> expected: JANUARY 550s # %#B -> actual: JANUARY 550s # %h -> expected: Jan 550s # %h -> actual: Jan 550s # %^h -> expected: JAN 550s # %^h -> actual: JAN 550s # %#h -> expected: JAN 550s # %#h -> actual: JAN 550s # %Z -> expected: UTC 550s # %Z -> actual: UTC 550s # %^Z -> expected: UTC 550s # %^Z -> actual: UTC 550s # %#Z -> expected: utc 550s # %#Z -> actual: utc 550s # %H -> expected: 01 550s # %H -> actual: 01 550s # %_H -> expected: 1 550s # %_H -> actual: 1 550s # %-H -> expected: 1 550s # %-H -> actual: 1 550s # %0H -> expected: 01 550s # %0H -> actual: 01 550s # %H -> expected: 21 550s # %H -> actual: 21 550s # %_H -> expected: 21 550s # %_H -> actual: 21 550s # %-H -> expected: 21 550s # %-H -> actual: 21 550s # %0H -> expected: 21 550s # %0H -> actual: 21 550s # %I -> expected: 01 550s # %I -> actual: 01 550s # %_I -> expected: 1 550s # %_I -> actual: 1 550s # %-I -> expected: 1 550s # %-I -> actual: 1 550s # %0I -> expected: 01 550s # %0I -> actual: 01 550s # %I -> expected: 11 550s # %I -> actual: 11 550s # %_I -> expected: 11 550s # %_I -> actual: 11 550s # %-I -> expected: 11 550s # %-I -> actual: 11 550s # %0I -> expected: 11 550s # %0I -> actual: 11 550s # %k -> expected:  1 550s # %k -> actual:  1 550s # %_k -> expected: 1 550s # %_k -> actual: 1 550s # %-k -> expected: 1 550s # %-k -> actual: 1 550s # %0k -> expected: 01 550s # %0k -> actual: 01 550s # %l -> expected:  1 550s # %l -> actual:  1 550s # %_l -> expected: 1 550s # %_l -> actual: 1 550s # %-l -> expected: 1 550s # %-l -> actual: 1 550s # %0l -> expected: 01 550s # %0l -> actual: 01 550s # %l -> expected: 11 550s # %l -> actual: 11 550s # %_l -> expected: 11 550s # %_l -> actual: 11 550s # %-l -> expected: 11 550s # %-l -> actual: 11 550s # %0l -> expected: 11 550s # %0l -> actual: 11 550s # %p -> expected: AM 550s # %p -> actual: AM 550s # %^p -> expected: AM 550s # %^p -> actual: AM 550s # %#p -> expected: am 550s # %#p -> actual: am 550s # %P -> expected: am 550s # %P -> actual: am 550s # %^P -> expected: AM 550s # %^P -> actual: AM 550s # %#P -> expected: am 550s # %#P -> actual: am 550s # %OH -> expected: Û²Û³ 550s # %OH -> actual: Û²Û³ 550s # %OI -> expected: Û±Û± 550s # %OI -> actual: Û±Û± 550s # %OM -> expected: Û°Û° 550s # %OM -> actual: Û°Û° 550s # %Om -> expected: Û°Û· 550s # %Om -> actual: Û°Û· 550s # %0Om -> expected: Û°Û· 550s # %0Om -> actual: Û°Û· 550s # %-Om -> expected: Û· 550s # %-Om -> actual: Û· 550s # %_Om -> expected: Û· 550s # %_Om -> actual: Û· 550s # %c -> expected: thu 01 jan 2009 00:00:00 utc 550s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 550s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 550s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 550s # %C -> expected: 20 550s # %C -> actual: 20 550s # %EC -> expected: 20 550s # %EC -> actual: 20 550s # %x -> expected: 02/01/09 550s # %x -> actual: 02/01/09 550s # %Ex -> expected: 02/01/09 550s # %Ex -> actual: 02/01/09 550s # %X -> expected: 01:02:03 550s # %X -> actual: 01:02:03 550s # %EX -> expected: 01:02:03 550s # %EX -> actual: 01:02:03 550s # %y -> expected: 09 550s # %y -> actual: 09 550s # %Ey -> expected: 09 550s # %Ey -> actual: 09 550s # %Y -> expected: 2009 550s # %Y -> actual: 2009 550s # %EY -> expected: 2009 550s # %EY -> actual: 2009 550s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 550s # Bug Reference: http://bugzilla.gnome.org/749206 550s # %B -> expected: January 550s # %B -> actual: January 550s # %OB -> expected: February 550s # %OB -> actual: February 550s # %b -> expected: Mar 550s # %b -> actual: Mar 550s # %Ob -> expected: Apr 550s # %Ob -> actual: Apr 550s # %h -> expected: May 550s # %h -> actual: May 550s # %Oh -> expected: Jun 550s # %Oh -> actual: Jun 550s # %B -> expected: Juli 550s # %B -> actual: Juli 550s # %OB -> expected: August 550s # %OB -> actual: August 550s # %b -> expected: Sep 550s # %b -> actual: Sep 550s # %Ob -> expected: Okt 550s # %Ob -> actual: Okt 550s # %h -> expected: Nov 550s # %h -> actual: Nov 550s # %Oh -> expected: Dez 550s # %Oh -> actual: Dez 550s # %B -> expected: enero 550s # %B -> actual: enero 550s # %OB -> expected: febrero 550s # %OB -> actual: febrero 550s # %b -> expected: mar 550s # %b -> actual: mar 550s # %Ob -> expected: abr 550s # %Ob -> actual: abr 550s # %h -> expected: may 550s # %h -> actual: may 550s # %Oh -> expected: jun 550s # %Oh -> actual: jun 550s # %B -> expected: juillet 550s # %B -> actual: juillet 550s # %OB -> expected: août 550s # %OB -> actual: août 550s # %b -> expected: sept. 550s # %b -> actual: sept. 550s # %Ob -> expected: oct. 550s # %Ob -> actual: oct. 550s # %h -> expected: nov. 550s # %h -> actual: nov. 550s # %Oh -> expected: déc. 550s # %Oh -> actual: déc. 550s # %B -> expected: ΙανουαÏίου 550s # %B -> actual: ΙανουαÏίου 550s # %B -> expected: ΦεβÏουαÏίου 550s # %B -> actual: ΦεβÏουαÏίου 550s # %B -> expected: ΜαÏτίου 550s # %B -> actual: ΜαÏτίου 550s # %OB -> expected: ΑπÏίλιος 550s # %OB -> actual: ΑπÏίλιος 550s # %OB -> expected: Μάιος 550s # %OB -> actual: Μάιος 550s # %OB -> expected: ΙοÏνιος 550s # %OB -> actual: ΙοÏνιος 550s # %b -> expected: Ιουλ 550s # %b -> actual: Ιουλ 550s # %Ob -> expected: ΑÏγ 550s # %Ob -> actual: ΑÏγ 550s # %B -> expected: svibnja 550s # %B -> actual: svibnja 550s # %B -> expected: lipnja 550s # %B -> actual: lipnja 550s # %B -> expected: srpnja 550s # %B -> actual: srpnja 550s # %OB -> expected: Kolovoz 550s # %OB -> actual: kolovoz 550s # %OB -> expected: Rujan 550s # %OB -> actual: rujan 550s # %OB -> expected: Listopad 550s # %OB -> actual: listopad 550s # %b -> expected: Stu 550s # %b -> actual: stu 550s # %Ob -> expected: Pro 550s # %Ob -> actual: pro 550s # %B -> expected: sausio 550s # %B -> actual: sausio 550s # %B -> expected: vasario 550s # %B -> actual: vasario 550s # %B -> expected: kovo 550s # %B -> actual: kovo 550s # %OB -> expected: balandis 550s # %OB -> actual: balandis 550s # %OB -> expected: gegužė 550s # %OB -> actual: gegužė 550s # %OB -> expected: birželis 550s # %OB -> actual: birželis 550s # %b -> expected: liep. 550s # %b -> actual: liep. 550s # %Ob -> expected: rugp. 550s # %Ob -> actual: rugp. 550s # %B -> expected: maja 550s # %B -> actual: maja 550s # %B -> expected: czerwca 550s # %B -> actual: czerwca 550s # %B -> expected: lipca 550s # %B -> actual: lipca 550s # %OB -> expected: sierpieÅ„ 550s # %OB -> actual: sierpieÅ„ 550s # %OB -> expected: wrzesieÅ„ 550s # %OB -> actual: wrzesieÅ„ 550s # %OB -> expected: październik 550s # %OB -> actual: październik 550s # %b -> expected: lis 550s # %b -> actual: lis 550s # %Ob -> expected: gru 550s # %Ob -> actual: gru 550s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 550s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 550s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 550s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 550s # %B -> expected: марта 550s # %B -> actual: марта 550s # %OB -> expected: Ðпрель 550s # %OB -> actual: Ðпрель 550s # %OB -> expected: Май 550s # %OB -> actual: Май 550s # %OB -> expected: Июнь 550s # %OB -> actual: Июнь 550s # %b -> expected: июл 550s # %b -> actual: июл 550s # %Ob -> expected: авг 550s # %Ob -> actual: авг 550s # %b -> expected: Ð¼Ð°Ñ 550s # %b -> actual: Ð¼Ð°Ñ 550s # %Ob -> expected: май 550s # %Ob -> actual: май 550s ok 38 /GDateTime/month_names 550s ok 39 /GDateTime/to_local 550s ok 40 /GDateTime/to_unix 550s ok 41 /GDateTime/to_timeval 550s ok 42 /GDateTime/to_utc 550s ok 43 /GDateTime/now_utc 550s ok 44 /GDateTime/dst 550s # Bug Reference: http://bugzilla.gnome.org/642935 550s ok 45 /GDateTime/test_z 551s ok 46 /GDateTime/test-all-dates 551s # slow test /GDateTime/test-all-dates executed in 0.75 secs 551s ok 47 /GDateTime/unix_usec 551s # Start of new_from_unix tests 551s # Bug Reference: http://bugzilla.gnome.org/782089 551s ok 48 /GDateTime/new_from_unix/overflow 551s # End of new_from_unix tests 551s # Start of new_from_timeval tests 551s # Bug Reference: http://bugzilla.gnome.org/782089 551s # Maximum supported GTimeVal.tv_sec = 253402300799 551s ok 49 /GDateTime/new_from_timeval/overflow 551s # End of new_from_timeval tests 551s # Start of new_from_iso8601 tests 551s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 551s # Vector 0: 1990-11-01T10:21:17Z 551s # Vector 1: 19901101T102117Z 551s # Vector 2: 1970-01-01T00:00:17.12Z 551s # Vector 3: 1970-01-01T00:00:17.1234Z 551s # Vector 4: 1970-01-01T00:00:17.123456Z 551s # Vector 5: 1980-02-22T12:36:00+02:00 551s # Vector 6: 1990-12-31T15:59:60-08:00 551s # Vector 7: 551s # Vector 8: x 551s # Vector 9: 123x 551s # Vector 10: 2001-10+x 551s # Vector 11: 1980-02-22T 551s # Vector 12: 2001-10-08Tx 551s # Vector 13: 2001-10-08T10:11x 551s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 551s # Vector 15: 1980-02-22T10:36:00Zulu 551s # Vector 16: 2T0+819855292164632335 551s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 551s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 551s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 551s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 551s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 551s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 551s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 551s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 551s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 551s ok - glib/gdatetime.test 551s # Running test: glib/performance-threaded.test 551s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 551s # Vector 27: 20180803T140805.446178377+0100 551s # Vector 28: 21474836480803T140805.446178377+0100 551s # Vector 29: 20181303T140805.446178377+0100 551s # Vector 30: 20180003T140805.446178377+0100 551s # Vector 31: 20180800T140805.446178377+0100 551s # Vector 32: 20180832T140805.446178377+0100 551s # Vector 33: 20180803T240805.446178377+0100 551s # Vector 34: 20180803T146005.446178377+0100 551s # Vector 35: 20180803T140863.446178377+0100 551s # Vector 36: 20180803T140805.446178377+10000 551s # Vector 37: -0005-01-01T00:00:00Z 551s # Vector 38: 2018-08-06 551s # Vector 39: 20180803T140805,446178377+0100 551s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 551s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 551s # Vector 42: 1990-11-01T10:21:17 551s # Vector 43: 1719W462 407777-07 551s # Vector 44: 4011090 260528Z 551s # Vector 45: 0000W011 228214-22 551s ok 50 /GDateTime/new_from_iso8601/2 551s # End of new_from_iso8601 tests 551s # Start of format_mixed tests 551s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 551s # %b -> expected: mar 551s # %b -> actual: Mar 551s # %B -> expected: march 551s # %B -> actual: March 551s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 551s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 551s # %b -> expected: mar 551s # %b -> actual: Mar 551s # %B -> expected: march 551s # %B -> actual: March 551s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 551s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 551s # %b -> expected: Mär 551s # %b -> actual: Mär 551s # %B -> expected: März 551s # %B -> actual: März 551s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 551s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 551s # %b -> expected: Mär 551s # %b -> actual: Mär 551s # %B -> expected: März 551s # %B -> actual: März 551s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 551s # End of format_mixed tests 551s # Start of strftime tests 551s # %r -> expected: (null) 551s # %r -> actual: (null) 551s ok 55 /GDateTime/strftime/error_handling 551s # End of strftime tests 551s # Start of eras tests 551s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 551s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 551s # %EC -> expected: 令和 551s # %EC -> actual: 令和 551s # %Ex -> expected: 令和05å¹´06月01æ—¥ 551s # %Ex -> actual: 令和05å¹´06月01æ—¥ 551s # %EX -> expected: 00時00分00ç§’ 551s # %EX -> actual: 00時00分00ç§’ 551s # %Ey -> expected: 05 551s # %Ey -> actual: 05 551s # %EY -> expected: 令和05å¹´ 551s # %EY -> actual: 令和05å¹´ 551s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 551s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 551s # %EC -> expected: å¹³æˆ 551s # %EC -> actual: å¹³æˆ 551s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 551s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 551s # %EX -> expected: 00時00分00ç§’ 551s # %EX -> actual: 00時00分00ç§’ 551s # %Ey -> expected: 31 551s # %Ey -> actual: 31 551s # %EY -> expected: å¹³æˆ31å¹´ 551s # %EY -> actual: å¹³æˆ31å¹´ 551s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00ç§’ 551s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00ç§’ 551s # %EC -> expected: 昭和 551s # %EC -> actual: 昭和 551s # %Ex -> expected: 昭和元年12月25æ—¥ 551s # %Ex -> actual: 昭和元年12月25æ—¥ 551s # %EX -> expected: 00時00分00ç§’ 551s # %EX -> actual: 00時00分00ç§’ 551s # %Ey -> expected: 01 551s # %Ey -> actual: 01 551s # %EY -> expected: 昭和元年 551s # %EY -> actual: 昭和元年 551s ok 56 /GDateTime/eras/japan 551s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 551s # Vector 0: 551s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 551s # 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å¹´ 551s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 551s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 551s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 551s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 551s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 551s # Vector 8: + 551s # Vector 9: +: 551s # Vector 10: +:: 551s # Vector 11: +:200 551s # Vector 12: +:2nonsense 551s # Vector 13: +:2nonsense: 551s # Vector 14: +:2: 551s # Vector 15: +:2:: 551s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 551s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 551s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 551s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 551s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 551s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 551s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 551s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 551s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 551s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 551s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 551s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 551s # Vector 28: +:2:2020/01/01 551s # Vector 29: +:2:2020/01/01: 551s # Vector 30: +:2:2020/01/01:: 551s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 551s # Vector 32: +:2:2020/01/01:+* 551s # Vector 33: +:2:2020/01/01:+*: 551s # Vector 34: +:2:2020/01/01:+*:: 551s # Vector 35: +:2:2020/01/01:+*:令和 551s # Vector 36: +:2:2020/01/01:+*:令和: 551s # Vector 37: +:2:2020/01/01:+*:令和:; 551s ok 58 /GDateTime/eras/parsing 551s # End of eras tests 551s # End of GDateTime tests 551s # Start of GTimeZone tests 551s ok 59 /GTimeZone/find-interval 551s ok 60 /GTimeZone/adjust-time 551s ok 61 /GTimeZone/no-header 551s ok 62 /GTimeZone/no-header-identifier 551s ok 63 /GTimeZone/posix-parse 551s # Bug Reference: http://bugzilla.gnome.org/697715 551s ok 64 /GTimeZone/floating-point 551s # System time zone identifier: Etc/UTC 551s ok 65 /GTimeZone/identifier 551s # Vector 0: -158400 551s # Vector 1: -10000 551s # Vector 2: -3600 551s # Vector 3: -61 551s # Vector 4: -60 551s # Vector 5: -59 551s # Vector 6: 0 551s # Vector 7: 59 551s # Vector 8: 60 551s # Vector 9: 61 551s # Vector 10: 3600 551s # Vector 11: 10000 551s # Vector 12: 158400 551s ok 66 /GTimeZone/new-offset 551s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 551s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 551s ok 67 /GTimeZone/parse-rfc8536 551s # /GTimeZone/caching summary: GTimeZone instances are cached 551s ok 68 /GTimeZone/caching 551s # End of GTimeZone tests 551s Running test "liststore-is-a" 552s 30993 runs, min/avg/max = 0.029/0.032/0.351 ms 552s Running test "liststore-interface-peek" 553s 41143 runs, min/avg/max = 0.022/0.024/0.268 ms 553s Running test "liststore-interface-peek-same" 553s # Executing: glib/performance-threaded.test 554s ok - glib/performance-threaded.test 554s 41447 runs, min/avg/max = 0.022/0.024/0.303 ms 554s # Running test: glib/contexts.test 554s TAP version 14 554s # random seed: R02S495e6b73348d4a1b00cdd8195c54300e 554s 1..5 554s # Start of gio tests 554s # Start of contexts tests 554s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 554s ok 1 /gio/contexts/thread-independence 554s ok 2 /gio/contexts/context-independence 554s # Start of context-specific tests 554s ok 3 /gio/contexts/context-specific/identity 554s ok 4 /gio/contexts/context-specific/emit 554s ok 5 /gio/contexts/context-specific/emit-and-unref 554s # End of context-specific tests 554s # End of contexts tests 554s # End of gio tests 554s ok - glib/contexts.test 554s # Running test: glib/macros-c-99.test 554s TAP version 14 554s # random seed: R02Sa9de9dea06a5e9e4d438e126000a8427 554s 1..4 554s # Start of C tests 554s ok 1 /C/standard-99 554s # End of C tests 554s # Start of alignof tests 554s ok 2 /alignof/fallback 554s # End of alignof tests 554s # Start of assert tests 554s ok 3 /assert/static 554s ok - glib/macros-c-99.test 554s # Running test: glib/collate.test 554s ok - glib/collate.test 554s # Running test: glib/checksum.test 554s # End of assert tests 554s # Start of struct tests 554s ok 4 /struct/sizeof_member 554s # End of struct tests 554s TAP version 14 554s # random seed: R02S100f1372c0a2247ec774b9154122d6b5 554s 1..9 554s # Start of unicode tests 554s # Start of collate tests 554s ok 1 /unicode/collate/0 554s ok 2 /unicode/collate/1 554s ok 3 /unicode/collate/2 554s # End of collate tests 554s # Start of collate-key tests 554s ok 4 /unicode/collate-key/0 554s ok 5 /unicode/collate-key/1 554s ok 6 /unicode/collate-key/2 554s # End of collate-key tests 554s # Start of collate-filename tests 554s ok 7 /unicode/collate-filename/0 554s ok 8 /unicode/collate-filename/1 554s ok 9 /unicode/collate-filename/2 554s # End of collate-filename tests 554s # End of unicode tests 554s TAP version 14 554s # random seed: R02S175d45e136976c291a140e743c26d608 554s 1..1851 554s # Start of checksum tests 554s ok 1 /checksum/unsupported 554s # Start of MD5 tests 554s ok 2 /checksum/MD5/0 554s ok 3 /checksum/MD5/1 554s ok 4 /checksum/MD5/2 554s ok 5 /checksum/MD5/3 554s ok 6 /checksum/MD5/4 554s ok 7 /checksum/MD5/5 554s ok 8 /checksum/MD5/6 554s ok 9 /checksum/MD5/7 554s ok 10 /checksum/MD5/8 554s ok 11 /checksum/MD5/9 554s ok 12 /checksum/MD5/10 554s ok 13 /checksum/MD5/11 554s ok 14 /checksum/MD5/12 554s ok 15 /checksum/MD5/13 554s ok 16 /checksum/MD5/14 554s ok 17 /checksum/MD5/15 554s ok 18 /checksum/MD5/16 554s ok 19 /checksum/MD5/17 554s ok 20 /checksum/MD5/18 554s ok 21 /checksum/MD5/19 554s ok 22 /checksum/MD5/20 554s ok 23 /checksum/MD5/21 554s ok 24 /checksum/MD5/22 554s ok 25 /checksum/MD5/23 554s ok 26 /checksum/MD5/24 554s ok 27 /checksum/MD5/25 554s ok 28 /checksum/MD5/26 554s ok 29 /checksum/MD5/27 554s ok 30 /checksum/MD5/28 554s ok 31 /checksum/MD5/29 554s ok 32 /checksum/MD5/30 554s ok 33 /checksum/MD5/31 554s ok 34 /checksum/MD5/32 554s ok 35 /checksum/MD5/33 554s ok 36 /checksum/MD5/34 554s ok 37 /checksum/MD5/35 554s ok 38 /checksum/MD5/36 554s ok 39 /checksum/MD5/37 554s ok 40 /checksum/MD5/38 554s ok 41 /checksum/MD5/39 554s ok 42 /checksum/MD5/40 554s ok 43 /checksum/MD5/41 554s ok 44 /checksum/MD5/42 554s ok 45 /checksum/MD5/43 554s ok 46 /checksum/MD5/44 554s ok 47 /checksum/MD5/45 554s ok 48 /checksum/MD5/46 554s ok 49 /checksum/MD5/47 554s ok 50 /checksum/MD5/48 554s ok 51 /checksum/MD5/49 554s ok 52 /checksum/MD5/50 554s ok 53 /checksum/MD5/51 554s ok 54 /checksum/MD5/52 554s ok 55 /checksum/MD5/53 554s ok 56 /checksum/MD5/54 554s ok 57 /checksum/MD5/55 554s ok 58 /checksum/MD5/56 554s ok 59 /checksum/MD5/57 554s ok 60 /checksum/MD5/58 554s ok 61 /checksum/MD5/59 554s ok 62 /checksum/MD5/60 554s ok 63 /checksum/MD5/61 554s ok 64 /checksum/MD5/62 554s ok 65 /checksum/MD5/63 554s ok 66 /checksum/MD5/64 554s ok 67 /checksum/MD5/65 554s ok 68 /checksum/MD5/66 554s ok 69 /checksum/MD5/67 554s ok 70 /checksum/MD5/68 554s ok 71 /checksum/MD5/69 554s ok 72 /checksum/MD5/70 554s ok 73 /checksum/MD5/71 554s ok 74 /checksum/MD5/72 554s ok 75 /checksum/MD5/73 554s ok 76 /checksum/MD5/74 554s ok 77 /checksum/MD5/75 554s ok 78 /checksum/MD5/76 554s ok 79 /checksum/MD5/77 554s ok 80 /checksum/MD5/78 554s ok 81 /checksum/MD5/79 554s ok 82 /checksum/MD5/80 554s ok 83 /checksum/MD5/81 554s ok 84 /checksum/MD5/82 554s ok 85 /checksum/MD5/83 554s ok 86 /checksum/MD5/84 554s ok 87 /checksum/MD5/85 554s ok 88 /checksum/MD5/86 554s ok 89 /checksum/MD5/87 554s ok 90 /checksum/MD5/88 554s ok 91 /checksum/MD5/89 554s ok 92 /checksum/MD5/90 554s ok 93 /checksum/MD5/91 554s ok 94 /checksum/MD5/92 554s ok 95 /checksum/MD5/93 554s ok 96 /checksum/MD5/94 554s ok 97 /checksum/MD5/95 554s ok 98 /checksum/MD5/96 554s ok 99 /checksum/MD5/97 554s ok 100 /checksum/MD5/98 554s ok 101 /checksum/MD5/99 554s ok 102 /checksum/MD5/100 554s ok 103 /checksum/MD5/101 554s ok 104 /checksum/MD5/102 554s ok 105 /checksum/MD5/103 554s ok 106 /checksum/MD5/104 554s ok 107 /checksum/MD5/105 554s ok 108 /checksum/MD5/106 554s ok 109 /checksum/MD5/107 554s ok 110 /checksum/MD5/108 554s ok 111 /checksum/MD5/109 554s ok 112 /checksum/MD5/110 554s ok 113 /checksum/MD5/111 554s ok 114 /checksum/MD5/112 554s ok 115 /checksum/MD5/113 554s ok 116 /checksum/MD5/114 554s ok 117 /checksum/MD5/115 554s ok 118 /checksum/MD5/116 554s ok 119 /checksum/MD5/117 554s ok 120 /checksum/MD5/118 554s ok 121 /checksum/MD5/119 554s ok 122 /checksum/MD5/120 554s ok 123 /checksum/MD5/121 554s ok 124 /checksum/MD5/122 554s ok 125 /checksum/MD5/123 554s ok 126 /checksum/MD5/124 554s ok 127 /checksum/MD5/125 554s ok 128 /checksum/MD5/126 554s ok 129 /checksum/MD5/127 554s ok 130 /checksum/MD5/128 554s ok 131 /checksum/MD5/129 554s ok 132 /checksum/MD5/130 554s ok 133 /checksum/MD5/131 554s ok 134 /checksum/MD5/132 554s ok 135 /checksum/MD5/133 554s ok 136 /checksum/MD5/134 554s ok 137 /checksum/MD5/135 554s ok 138 /checksum/MD5/136 554s ok 139 /checksum/MD5/137 554s ok 140 /checksum/MD5/138 554s ok 141 /checksum/MD5/139 554s ok 142 /checksum/MD5/140 554s ok 143 /checksum/MD5/141 554s ok 144 /checksum/MD5/142 554s ok 145 /checksum/MD5/143 554s ok 146 /checksum/MD5/144 554s ok 147 /checksum/MD5/145 554s ok 148 /checksum/MD5/146 554s ok 149 /checksum/MD5/147 554s ok 150 /checksum/MD5/148 554s ok 151 /checksum/MD5/149 554s ok 152 /checksum/MD5/150 554s ok 153 /checksum/MD5/151 554s ok 154 /checksum/MD5/152 554s ok 155 /checksum/MD5/153 554s ok 156 /checksum/MD5/154 554s ok 157 /checksum/MD5/155 554s ok 158 /checksum/MD5/156 554s ok 159 /checksum/MD5/157 554s ok 160 /checksum/MD5/158 554s ok 161 /checksum/MD5/159 554s ok 162 /checksum/MD5/160 554s ok 163 /checksum/MD5/161 554s ok 164 /checksum/MD5/162 554s ok 165 /checksum/MD5/163 554s ok 166 /checksum/MD5/164 554s ok 167 /checksum/MD5/165 554s ok 168 /checksum/MD5/166 554s ok 169 /checksum/MD5/167 554s ok 170 /checksum/MD5/168 554s ok 171 /checksum/MD5/169 554s ok 172 /checksum/MD5/170 554s ok 173 /checksum/MD5/171 554s ok 174 /checksum/MD5/172 554s ok 175 /checksum/MD5/173 554s ok 176 /checksum/MD5/174 554s ok 177 /checksum/MD5/175 554s ok 178 /checksum/MD5/176 554s ok 179 /checksum/MD5/177 554s ok 180 /checksum/MD5/178 554s ok 181 /checksum/MD5/179 554s ok 182 /checksum/MD5/180 554s ok 183 /checksum/MD5/181 554s ok 184 /checksum/MD5/182 554s ok 185 /checksum/MD5/183 554s ok 186 /checksum/MD5/string 554s ok 187 /checksum/MD5/bytes 554s # Start of reset tests 554s ok 188 /checksum/MD5/reset/0 554s ok 189 /checksum/MD5/reset/1 554s ok 190 /checksum/MD5/reset/2 554s ok 191 /checksum/MD5/reset/3 554s ok 192 /checksum/MD5/reset/4 554s ok 193 /checksum/MD5/reset/5 554s ok 194 /checksum/MD5/reset/6 554s ok 195 /checksum/MD5/reset/7 554s ok 196 /checksum/MD5/reset/8 554s ok 197 /checksum/MD5/reset/9 554s ok 198 /checksum/MD5/reset/10 554s ok 199 /checksum/MD5/reset/11 554s ok 200 /checksum/MD5/reset/12 554s ok 201 /checksum/MD5/reset/13 554s ok 202 /checksum/MD5/reset/14 554s ok 203 /checksum/MD5/reset/15 554s ok 204 /checksum/MD5/reset/16 554s ok 205 /checksum/MD5/reset/17 554s ok 206 /checksum/MD5/reset/18 554s ok 207 /checksum/MD5/reset/19 554s ok 208 /checksum/MD5/reset/20 554s ok 209 /checksum/MD5/reset/21 554s ok 210 /checksum/MD5/reset/22 554s ok 211 /checksum/MD5/reset/23 554s ok 212 /checksum/MD5/reset/24 554s ok 213 /checksum/MD5/reset/25 554s ok 214 /checksum/MD5/reset/26 554s ok 215 /checksum/MD5/reset/27 554s ok 216 /checksum/MD5/reset/28 554s ok 217 /checksum/MD5/reset/29 554s ok 218 /checksum/MD5/reset/30 554s ok 219 /checksum/MD5/reset/31 554s ok 220 /checksum/MD5/reset/32 554s ok 221 /checksum/MD5/reset/33 554s ok 222 /checksum/MD5/reset/34 554s ok 223 /checksum/MD5/reset/35 554s ok 224 /checksum/MD5/reset/36 554s ok 225 /checksum/MD5/reset/37 554s ok 226 /checksum/MD5/reset/38 554s ok 227 /checksum/MD5/reset/39 554s ok 228 /checksum/MD5/reset/40 554s ok 229 /checksum/MD5/reset/41 554s ok 230 /checksum/MD5/reset/42 554s ok 231 /checksum/MD5/reset/43 554s ok 232 /checksum/MD5/reset/44 554s ok 233 /checksum/MD5/reset/45 554s ok 234 /checksum/MD5/reset/46 554s ok 235 /checksum/MD5/reset/47 554s ok 236 /checksum/MD5/reset/48 554s ok 237 /checksum/MD5/reset/49 554s ok 238 /checksum/MD5/reset/50 554s ok 239 /checksum/MD5/reset/51 554s ok 240 /checksum/MD5/reset/52 554s ok 241 /checksum/MD5/reset/53 554s ok 242 /checksum/MD5/reset/54 554s ok 243 /checksum/MD5/reset/55 554s ok 244 /checksum/MD5/reset/56 554s ok 245 /checksum/MD5/reset/57 554s ok 246 /checksum/MD5/reset/58 554s ok 247 /checksum/MD5/reset/59 554s ok 248 /checksum/MD5/reset/60 554s ok 249 /checksum/MD5/reset/61 554s ok 250 /checksum/MD5/reset/62 554s ok 251 /checksum/MD5/reset/63 554s ok 252 /checksum/MD5/reset/64 554s ok 253 /checksum/MD5/reset/65 554s ok 254 /checksum/MD5/reset/66 554s ok 255 /checksum/MD5/reset/67 554s ok 256 /checksum/MD5/reset/68 554s ok 257 /checksum/MD5/reset/69 554s ok 258 /checksum/MD5/reset/70 554s ok 259 /checksum/MD5/reset/71 554s ok 260 /checksum/MD5/reset/72 554s ok 261 /checksum/MD5/reset/73 554s ok 262 /checksum/MD5/reset/74 554s ok 263 /checksum/MD5/reset/75 554s ok 264 /checksum/MD5/reset/76 554s ok 265 /checksum/MD5/reset/77 554s ok 266 /checksum/MD5/reset/78 554s ok 267 /checksum/MD5/reset/79 554s ok 268 /checksum/MD5/reset/80 554s ok 269 /checksum/MD5/reset/81 554s ok 270 /checksum/MD5/reset/82 554s ok 271 /checksum/MD5/reset/83 554s ok 272 /checksum/MD5/reset/84 554s ok 273 /checksum/MD5/reset/85 554s ok 274 /checksum/MD5/reset/86 554s ok 275 /checksum/MD5/reset/87 554s ok 276 /checksum/MD5/reset/88 554s ok 277 /checksum/MD5/reset/89 554s ok 278 /checksum/MD5/reset/90 554s ok 279 /checksum/MD5/reset/91 554s ok 280 /checksum/MD5/reset/92 554s ok 281 /checksum/MD5/reset/93 554s ok 282 /checksum/MD5/reset/94 554s ok 283 /checksum/MD5/reset/95 554s ok 284 /checksum/MD5/reset/96 554s ok 285 /checksum/MD5/reset/97 554s ok 286 /checksum/MD5/reset/98 554s ok 287 /checksum/MD5/reset/99 554s ok 288 /checksum/MD5/reset/100 554s ok 289 /checksum/MD5/reset/101 554s ok 290 /checksum/MD5/reset/102 554s ok 291 /checksum/MD5/reset/103 554s ok 292 /checksum/MD5/reset/104 554s ok 293 /checksum/MD5/reset/105 554s ok 294 /checksum/MD5/reset/106 554s ok 295 /checksum/MD5/reset/107 554s ok 296 /checksum/MD5/reset/108 554s ok 297 /checksum/MD5/reset/109 554s ok 298 /checksum/MD5/reset/110 554s ok 299 /checksum/MD5/reset/111 554s ok 300 /checksum/MD5/reset/112 554s ok 301 /checksum/MD5/reset/113 554s ok 302 /checksum/MD5/reset/114 554s ok 303 /checksum/MD5/reset/115 554s ok 304 /checksum/MD5/reset/116 554s ok 305 /checksum/MD5/reset/117 554s ok 306 /checksum/MD5/reset/118 554s ok 307 /checksum/MD5/reset/119 554s ok 308 /checksum/MD5/reset/120 554s ok 309 /checksum/MD5/reset/121 554s ok 310 /checksum/MD5/reset/122 554s ok 311 /checksum/MD5/reset/123 554s ok 312 /checksum/MD5/reset/124 554s ok 313 /checksum/MD5/reset/125 554s ok 314 /checksum/MD5/reset/126 554s ok 315 /checksum/MD5/reset/127 554s ok 316 /checksum/MD5/reset/128 554s ok 317 /checksum/MD5/reset/129 554s ok 318 /checksum/MD5/reset/130 554s ok 319 /checksum/MD5/reset/131 554s ok 320 /checksum/MD5/reset/132 554s ok 321 /checksum/MD5/reset/133 554s ok 322 /checksum/MD5/reset/134 554s ok 323 /checksum/MD5/reset/135 554s ok 324 /checksum/MD5/reset/136 554s ok 325 /checksum/MD5/reset/137 554s ok 326 /checksum/MD5/reset/138 554s ok 327 /checksum/MD5/reset/139 554s ok 328 /checksum/MD5/reset/140 554s ok 329 /checksum/MD5/reset/141 554s ok 330 /checksum/MD5/reset/142 554s ok 331 /checksum/MD5/reset/143 554s ok 332 /checksum/MD5/reset/144 554s ok 333 /checksum/MD5/reset/145 554s ok 334 /checksum/MD5/reset/146 554s ok 335 /checksum/MD5/reset/147 554s ok 336 /checksum/MD5/reset/148 554s ok 337 /checksum/MD5/reset/149 554s ok 338 /checksum/MD5/reset/150 554s ok 339 /checksum/MD5/reset/151 554s ok 340 /checksum/MD5/reset/152 554s ok 341 /checksum/MD5/reset/153 554s ok 342 /checksum/MD5/reset/154 554s ok 343 /checksum/MD5/reset/155 554s ok 344 /checksum/MD5/reset/156 554s ok 345 /checksum/MD5/reset/157 554s ok 346 /checksum/MD5/reset/158 554s ok 347 /checksum/MD5/reset/159 554s ok 348 /checksum/MD5/reset/160 554s ok 349 /checksum/MD5/reset/161 554s ok 350 /checksum/MD5/reset/162 554s ok 351 /checksum/MD5/reset/163 554s ok 352 /checksum/MD5/reset/164 554s ok 353 /checksum/MD5/reset/165 554s ok 354 /checksum/MD5/reset/166 554s ok 355 /checksum/MD5/reset/167 554s ok 356 /checksum/MD5/reset/168 554s ok 357 /checksum/MD5/reset/169 554s ok 358 /checksum/MD5/reset/170 554s ok 359 /checksum/MD5/reset/171 554s ok 360 /checksum/MD5/reset/172 554s ok 361 /checksum/MD5/reset/173 554s ok 362 /checksum/MD5/reset/174 554s ok 363 /checksum/MD5/reset/175 554s ok 364 /checksum/MD5/reset/176 554s ok 365 /checksum/MD5/reset/177 554s ok 366 /checksum/MD5/reset/178 554s ok 367 /checksum/MD5/reset/179 554s ok 368 /checksum/MD5/reset/180 554s ok 369 /checksum/MD5/reset/181 554s ok 370 /checksum/MD5/reset/182 554s ok 371 /checksum/MD5/reset/183 554s # End of reset tests 554s # End of MD5 tests 554s # Start of SHA1 tests 554s ok 372 /checksum/SHA1/0 554s ok 373 /checksum/SHA1/1 554s ok 374 /checksum/SHA1/2 554s ok 375 /checksum/SHA1/3 554s ok 376 /checksum/SHA1/4 554s ok 377 /checksum/SHA1/5 554s ok 378 /checksum/SHA1/6 554s ok 379 /checksum/SHA1/7 554s ok 380 /checksum/SHA1/8 554s ok 381 /checksum/SHA1/9 554s ok 382 /checksum/SHA1/10 554s ok 383 /checksum/SHA1/11 554s ok 384 /checksum/SHA1/12 554s ok 385 /checksum/SHA1/13 554s ok 386 /checksum/SHA1/14 554s ok 387 /checksum/SHA1/15 554s ok 388 /checksum/SHA1/16 554s ok 389 /checksum/SHA1/17 554s ok 390 /checksum/SHA1/18 554s ok 391 /checksum/SHA1/19 554s ok 392 /checksum/SHA1/20 554s ok 393 /checksum/SHA1/21 554s ok 394 /checksum/SHA1/22 554s ok 395 /checksum/SHA1/23 554s ok 396 /checksum/SHA1/24 554s ok 397 /checksum/SHA1/25 554s ok 398 /checksum/SHA1/26 554s ok 399 /checksum/SHA1/27 554s ok 400 /checksum/SHA1/28 554s ok 401 /checksum/SHA1/29 554s ok 402 /checksum/SHA1/30 554s ok 403 /checksum/SHA1/31 554s ok 404 /checksum/SHA1/32 554s ok 405 /checksum/SHA1/33 554s ok 406 /checksum/SHA1/34 554s ok 407 /checksum/SHA1/35 554s ok 408 /checksum/SHA1/36 554s ok 409 /checksum/SHA1/37 554s ok 410 /checksum/SHA1/38 554s ok 411 /checksum/SHA1/39 554s ok 412 /checksum/SHA1/40 554s ok 413 /checksum/SHA1/41 554s ok 414 /checksum/SHA1/42 554s ok 415 /checksum/SHA1/43 554s ok 416 /checksum/SHA1/44 554s ok 417 /checksum/SHA1/45 554s ok 418 /checksum/SHA1/46 554s ok 419 /checksum/SHA1/47 554s ok 420 /checksum/SHA1/48 554s ok 421 /checksum/SHA1/49 554s ok 422 /checksum/SHA1/50 554s ok 423 /checksum/SHA1/51 554s ok 424 /checksum/SHA1/52 554s ok 425 /checksum/SHA1/53 554s ok 426 /checksum/SHA1/54 554s ok 427 /checksum/SHA1/55 554s ok 428 /checksum/SHA1/56 554s ok 429 /checksum/SHA1/57 554s ok 430 /checksum/SHA1/58 554s ok 431 /checksum/SHA1/59 554s ok 432 /checksum/SHA1/60 554s ok 433 /checksum/SHA1/61 554s ok 434 /checksum/SHA1/62 554s ok 435 /checksum/SHA1/63 554s ok 436 /checksum/SHA1/64 554s ok 437 /checksum/SHA1/65 554s ok 438 /checksum/SHA1/66 554s ok 439 /checksum/SHA1/67 554s ok 440 /checksum/SHA1/68 554s ok 441 /checksum/SHA1/69 554s ok 442 /checksum/SHA1/70 554s ok 443 /checksum/SHA1/71 554s ok 444 /checksum/SHA1/72 554s ok 445 /checksum/SHA1/73 554s ok 446 /checksum/SHA1/74 554s ok 447 /checksum/SHA1/75 554s ok 448 /checksum/SHA1/76 554s ok 449 /checksum/SHA1/77 554s ok 450 /checksum/SHA1/78 554s ok 451 /checksum/SHA1/79 554s ok 452 /checksum/SHA1/80 554s ok 453 /checksum/SHA1/81 554s ok 454 /checksum/SHA1/82 554s ok 455 /checksum/SHA1/83 554s ok 456 /checksum/SHA1/84 554s ok 457 /checksum/SHA1/85 554s ok 458 /checksum/SHA1/86 554s ok 459 /checksum/SHA1/87 554s ok 460 /checksum/SHA1/88 554s ok 461 /checksum/SHA1/89 554s ok 462 /checksum/SHA1/90 554s ok 463 /checksum/SHA1/91 554s ok 464 /checksum/SHA1/92 554s ok 465 /checksum/SHA1/93 554s ok 466 /checksum/SHA1/94 554s ok 467 /checksum/SHA1/95 554s ok 468 /checksum/SHA1/96 554s ok 469 /checksum/SHA1/97 554s ok 470 /checksum/SHA1/98 554s ok 471 /checksum/SHA1/99 554s ok 472 /checksum/SHA1/100 554s ok 473 /checksum/SHA1/101 554s ok 474 /checksum/SHA1/102 554s ok 475 /checksum/SHA1/103 554s ok 476 /checksum/SHA1/104 554s ok 477 /checksum/SHA1/105 554s ok 478 /checksum/SHA1/106 554s ok 479 /checksum/SHA1/107 554s ok 480 /checksum/SHA1/108 554s ok 481 /checksum/SHA1/109 554s ok 482 /checksum/SHA1/110 554s ok 483 /checksum/SHA1/111 554s ok 484 /checksum/SHA1/112 554s ok 485 /checksum/SHA1/113 554s ok 486 /checksum/SHA1/114 554s ok 487 /checksum/SHA1/115 554s ok 488 /checksum/SHA1/116 554s ok 489 /checksum/SHA1/117 554s ok 490 /checksum/SHA1/118 554s ok 491 /checksum/SHA1/119 554s ok 492 /checksum/SHA1/120 554s ok 493 /checksum/SHA1/121 554s ok 494 /checksum/SHA1/122 554s ok 495 /checksum/SHA1/123 554s ok 496 /checksum/SHA1/124 554s ok 497 /checksum/SHA1/125 554s ok 498 /checksum/SHA1/126 554s ok 499 /checksum/SHA1/127 554s ok 500 /checksum/SHA1/128 554s ok 501 /checksum/SHA1/129 554s ok 502 /checksum/SHA1/130 554s ok 503 /checksum/SHA1/131 554s ok 504 /checksum/SHA1/132 554s ok 505 /checksum/SHA1/133 554s ok 506 /checksum/SHA1/134 554s ok 507 /checksum/SHA1/135 554s ok 508 /checksum/SHA1/136 554s ok 509 /checksum/SHA1/137 554s ok 510 /checksum/SHA1/138 554s ok 511 /checksum/SHA1/139 554s ok 512 /checksum/SHA1/140 554s ok 513 /checksum/SHA1/141 554s ok 514 /checksum/SHA1/142 554s ok 515 /checksum/SHA1/143 554s ok 516 /checksum/SHA1/144 554s ok 517 /checksum/SHA1/145 554s ok 518 /checksum/SHA1/146 554s ok 519 /checksum/SHA1/147 554s ok 520 /checksum/SHA1/148 554s ok 521 /checksum/SHA1/149 554s ok 522 /checksum/SHA1/150 554s ok 523 /checksum/SHA1/151 554s ok 524 /checksum/SHA1/152 554s ok 525 /checksum/SHA1/153 554s ok 526 /checksum/SHA1/154 554s ok 527 /checksum/SHA1/155 554s ok 528 /checksum/SHA1/156 554s ok 529 /checksum/SHA1/157 554s ok 530 /checksum/SHA1/158 554s ok 531 /checksum/SHA1/159 554s ok 532 /checksum/SHA1/160 554s ok 533 /checksum/SHA1/161 554s ok 534 /checksum/SHA1/162 554s ok 535 /checksum/SHA1/163 554s ok 536 /checksum/SHA1/164 554s ok 537 /checksum/SHA1/165 554s ok 538 /checksum/SHA1/166 554s ok 539 /checksum/SHA1/167 554s ok 540 /checksum/SHA1/168 554s ok 541 /checksum/SHA1/169 554s ok 542 /checksum/SHA1/170 554s ok 543 /checksum/SHA1/171 554s ok 544 /checksum/SHA1/172 554s ok 545 /checksum/SHA1/173 554s ok 546 /checksum/SHA1/174 554s ok 547 /checksum/SHA1/175 554s ok 548 /checksum/SHA1/176 554s ok 549 /checksum/SHA1/177 554s ok 550 /checksum/SHA1/178 554s ok 551 /checksum/SHA1/179 554s ok 552 /checksum/SHA1/180 554s ok 553 /checksum/SHA1/181 554s ok 554 /checksum/SHA1/182 554s ok 555 /checksum/SHA1/183 554s ok 556 /checksum/SHA1/string 554s ok 557 /checksum/SHA1/bytes 554s # Start of reset tests 554s ok 558 /checksum/SHA1/reset/0 554s ok 559 /checksum/SHA1/reset/1 554s ok 560 /checksum/SHA1/reset/2 554s ok 561 /checksum/SHA1/reset/3 554s ok 562 /checksum/SHA1/reset/4 554s ok 563 /checksum/SHA1/reset/5 554s ok 564 /checksum/SHA1/reset/6 554s ok 565 /checksum/SHA1/reset/7 554s ok 566 /checksum/SHA1/reset/8 554s ok 567 /checksum/SHA1/reset/9 554s ok 568 /checksum/SHA1/reset/10 554s ok 569 /checksum/SHA1/reset/11 554s ok 570 /checksum/SHA1/reset/12 554s ok 571 /checksum/SHA1/reset/13 554s ok 572 /checksum/SHA1/reset/14 554s ok 573 /checksum/SHA1/reset/15 554s ok 574 /checksum/SHA1/reset/16 554s ok 575 /checksum/SHA1/reset/17 554s ok 576 /checksum/SHA1/reset/18 554s ok 577 /checksum/SHA1/reset/19 554s ok 578 /checksum/SHA1/reset/20 554s ok 579 /checksum/SHA1/reset/21 554s ok 580 /checksum/SHA1/reset/22 554s ok 581 /checksum/SHA1/reset/23 554s ok 582 /checksum/SHA1/reset/24 554s ok 583 /checksum/SHA1/reset/25 554s ok 584 /checksum/SHA1/reset/26 554s ok 585 /checksum/SHA1/reset/27 554s ok 586 /checksum/SHA1/reset/28 554s ok 587 /checksum/SHA1/reset/29 554s ok 588 /checksum/SHA1/reset/30 554s ok 589 /checksum/SHA1/reset/31 554s ok 590 /checksum/SHA1/reset/32 554s ok 591 /checksum/SHA1/reset/33 554s ok 592 /checksum/SHA1/reset/34 554s ok 593 /checksum/SHA1/reset/35 554s ok 594 /checksum/SHA1/reset/36 554s ok 595 /checksum/SHA1/reset/37 554s ok 596 /checksum/SHA1/reset/38 554s ok 597 /checksum/SHA1/reset/39 554s ok 598 /checksum/SHA1/reset/40 554s ok 599 /checksum/SHA1/reset/41 554s ok 600 /checksum/SHA1/reset/42 554s ok 601 /checksum/SHA1/reset/43 554s ok 602 /checksum/SHA1/reset/44 554s ok 603 /checksum/SHA1/reset/45 554s ok 604 /checksum/SHA1/reset/46 554s ok 605 /checksum/SHA1/reset/47 554s ok 606 /checksum/SHA1/reset/48 554s ok 607 /checksum/SHA1/reset/49 554s ok 608 /checksum/SHA1/reset/50 554s ok 609 /checksum/SHA1/reset/51 554s ok 610 /checksum/SHA1/reset/52 554s ok 611 /checksum/SHA1/reset/53 554s ok 612 /checksum/SHA1/reset/54 554s ok 613 /checksum/SHA1/reset/55 554s ok 614 /checksum/SHA1/reset/56 554s ok 615 /checksum/SHA1/reset/57 554s ok 616 /checksum/SHA1/reset/58 554s ok 617 /checksum/SHA1/reset/59 554s ok 618 /checksum/SHA1/reset/60 554s ok 619 /checksum/SHA1/reset/61 554s ok 620 /checksum/SHA1/reset/62 554s ok 621 /checksum/SHA1/reset/63 554s ok 622 /checksum/SHA1/reset/64 554s ok 623 /checksum/SHA1/reset/65 554s ok 624 /checksum/SHA1/reset/66 554s ok 625 /checksum/SHA1/reset/67 554s ok 626 /checksum/SHA1/reset/68 554s ok 627 /checksum/SHA1/reset/69 554s ok 628 /checksum/SHA1/reset/70 554s ok 629 /checksum/SHA1/reset/71 554s ok 630 /checksum/SHA1/reset/72 554s ok 631 /checksum/SHA1/reset/73 554s ok 632 /checksum/SHA1/reset/74 554s ok 633 /checksum/SHA1/reset/75 554s ok 634 /checksum/SHA1/reset/76 554s ok 635 /checksum/SHA1/reset/77 554s ok 636 /checksum/SHA1/reset/78 554s ok 637 /checksum/SHA1/reset/79 554s ok 638 /checksum/SHA1/reset/80 554s ok 639 /checksum/SHA1/reset/81 554s ok 640 /checksum/SHA1/reset/82 554s ok 641 /checksum/SHA1/reset/83 554s ok 642 /checksum/SHA1/reset/84 554s ok 643 /checksum/SHA1/reset/85 554s ok 644 /checksum/SHA1/reset/86 554s ok 645 /checksum/SHA1/reset/87 554s ok 646 /checksum/SHA1/reset/88 554s ok 647 /checksum/SHA1/reset/89 554s ok 648 /checksum/SHA1/reset/90 554s ok 649 /checksum/SHA1/reset/91 554s ok 650 /checksum/SHA1/reset/92 554s ok 651 /checksum/SHA1/reset/93 554s ok 652 /checksum/SHA1/reset/94 554s ok 653 /checksum/SHA1/reset/95 554s ok 654 /checksum/SHA1/reset/96 554s ok 655 /checksum/SHA1/reset/97 554s ok 656 /checksum/SHA1/reset/98 554s ok 657 /checksum/SHA1/reset/99 554s ok 658 /checksum/SHA1/reset/100 554s ok 659 /checksum/SHA1/reset/101 554s ok 660 /checksum/SHA1/reset/102 554s ok 661 /checksum/SHA1/reset/103 554s ok 662 /checksum/SHA1/reset/104 554s ok 663 /checksum/SHA1/reset/105 554s ok 664 /checksum/SHA1/reset/106 554s ok 665 /checksum/SHA1/reset/107 554s ok 666 /checksum/SHA1/reset/108 554s ok 667 /checksum/SHA1/reset/109 554s ok 668 /checksum/SHA1/reset/110 554s ok 669 /checksum/SHA1/reset/111 554s ok 670 /checksum/SHA1/reset/112 554s ok 671 /checksum/SHA1/reset/113 554s ok 672 /checksum/SHA1/reset/114 554s ok 673 /checksum/SHA1/reset/115 554s ok 674 /checksum/SHA1/reset/116 554s ok 675 /checksum/SHA1/reset/117 554s ok 676 /checksum/SHA1/reset/118 554s ok 677 /checksum/SHA1/reset/119 554s ok 678 /checksum/SHA1/reset/120 554s ok 679 /checksum/SHA1/reset/121 554s ok 680 /checksum/SHA1/reset/122 554s ok 681 /checksum/SHA1/reset/123 554s ok 682 /checksum/SHA1/reset/124 554s ok 683 /checksum/SHA1/reset/125 554s ok 684 /checksum/SHA1/reset/126 554s ok 685 /checksum/SHA1/reset/127 554s ok 686 /checksum/SHA1/reset/128 554s ok 687 /checksum/SHA1/reset/129 554s ok 688 /checksum/SHA1/reset/130 554s ok 689 /checksum/SHA1/reset/131 554s ok 690 /checksum/SHA1/reset/132 554s ok 691 /checksum/SHA1/reset/133 554s ok 692 /checksum/SHA1/reset/134 554s ok 693 /checksum/SHA1/reset/135 554s ok 694 /checksum/SHA1/reset/136 554s ok 695 /checksum/SHA1/reset/137 554s ok 696 /checksum/SHA1/reset/138 554s ok 697 /checksum/SHA1/reset/139 554s ok 698 /checksum/SHA1/reset/140 554s ok 699 /checksum/SHA1/reset/141 554s ok 700 /checksum/SHA1/reset/142 554s ok 701 /checksum/SHA1/reset/143 554s ok 702 /checksum/SHA1/reset/144 554s ok 703 /checksum/SHA1/reset/145 554s ok 704 /checksum/SHA1/reset/146 554s ok 705 /checksum/SHA1/reset/147 554s ok 706 /checksum/SHA1/reset/148 554s ok 707 /checksum/SHA1/reset/149 554s ok 708 /checksum/SHA1/reset/150 554s ok 709 /checksum/SHA1/reset/151 554s ok 710 /checksum/SHA1/reset/152 554s ok 711 /checksum/SHA1/reset/153 554s ok 712 /checksum/SHA1/reset/154 554s ok 713 /checksum/SHA1/reset/155 554s ok 714 /checksum/SHA1/reset/156 554s ok 715 /checksum/SHA1/reset/157 554s ok 716 /checksum/SHA1/reset/158 554s ok 717 /checksum/SHA1/reset/159 554s ok 718 /checksum/SHA1/reset/160 554s ok 719 /checksum/SHA1/reset/161 554s ok 720 /checksum/SHA1/reset/162 554s ok 721 /checksum/SHA1/reset/163 554s ok 722 /checksum/SHA1/reset/164 554s ok 723 /checksum/SHA1/reset/165 554s ok 724 /checksum/SHA1/reset/166 554s ok 725 /checksum/SHA1/reset/167 554s ok 726 /checksum/SHA1/reset/168 554s ok 727 /checksum/SHA1/reset/169 554s ok 728 /checksum/SHA1/reset/170 554s ok 729 /checksum/SHA1/reset/171 554s ok 730 /checksum/SHA1/reset/172 554s ok 731 /checksum/SHA1/reset/173 554s ok 732 /checksum/SHA1/reset/174 554s ok 733 /checksum/SHA1/reset/175 554s ok 734 /checksum/SHA1/reset/176 554s ok 735 /checksum/SHA1/reset/177 554s ok 736 /checksum/SHA1/reset/178 554s ok 737 /checksum/SHA1/reset/179 554s ok 738 /checksum/SHA1/reset/180 554s ok 739 /checksum/SHA1/reset/181 554s ok 740 /checksum/SHA1/reset/182 554s ok 741 /checksum/SHA1/reset/183 554s # End of reset tests 554s # End of SHA1 tests 554s # Start of SHA256 tests 554s ok 742 /checksum/SHA256/0 554s ok 743 /checksum/SHA256/1 554s ok 744 /checksum/SHA256/2 554s ok 745 /checksum/SHA256/3 554s ok 746 /checksum/SHA256/4 554s ok 747 /checksum/SHA256/5 554s ok 748 /checksum/SHA256/6 554s ok 749 /checksum/SHA256/7 554s ok 750 /checksum/SHA256/8 554s ok 751 /checksum/SHA256/9 554s ok 752 /checksum/SHA256/10 554s ok 753 /checksum/SHA256/11 554s ok 754 /checksum/SHA256/12 554s ok 755 /checksum/SHA256/13 554s ok 756 /checksum/SHA256/14 554s ok 757 /checksum/SHA256/15 554s ok 758 /checksum/SHA256/16 554s ok 759 /checksum/SHA256/17 554s ok 760 /checksum/SHA256/18 554s ok 761 /checksum/SHA256/19 554s ok 762 /checksum/SHA256/20 554s ok 763 /checksum/SHA256/21 554s ok 764 /checksum/SHA256/22 554s ok 765 /checksum/SHA256/23 554s ok 766 /checksum/SHA256/24 554s ok 767 /checksum/SHA256/25 554s ok 768 /checksum/SHA256/26 554s ok 769 /checksum/SHA256/27 554s ok 770 /checksum/SHA256/28 554s ok 771 /checksum/SHA256/29 554s ok 772 /checksum/SHA256/30 554s ok 773 /checksum/SHA256/31 554s ok 774 /checksum/SHA256/32 554s ok 775 /checksum/SHA256/33 554s ok 776 /checksum/SHA256/34 554s ok 777 /checksum/SHA256/35 554s ok 778 /checksum/SHA256/36 554s ok 779 /checksum/SHA256/37 554s ok 780 /checksum/SHA256/38 554s ok 781 /checksum/SHA256/39 554s ok 782 /checksum/SHA256/40 554s ok 783 /checksum/SHA256/41 554s ok 784 /checksum/SHA256/42 554s ok 785 /checksum/SHA256/43 554s ok 786 /checksum/SHA256/44 554s ok 787 /checksum/SHA256/45 554s ok 788 /checksum/SHA256/46 554s ok 789 /checksum/SHA256/47 554s ok 790 /checksum/SHA256/48 554s ok 791 /checksum/SHA256/49 554s ok 792 /checksum/SHA256/50 554s ok 793 /checksum/SHA256/51 554s ok 794 /checksum/SHA256/52 554s ok 795 /checksum/SHA256/53 554s ok 796 /checksum/SHA256/54 554s ok 797 /checksum/SHA256/55 554s ok 798 /checksum/SHA256/56 554s ok 799 /checksum/SHA256/57 554s ok 800 /checksum/SHA256/58 554s ok 801 /checksum/SHA256/59 554s ok 802 /checksum/SHA256/60 554s ok 803 /checksum/SHA256/61 554s ok 804 /checksum/SHA256/62 554s ok 805 /checksum/SHA256/63 554s ok 806 /checksum/SHA256/64 554s ok 807 /checksum/SHA256/65 554s ok 808 /checksum/SHA256/66 554s ok 809 /checksum/SHA256/67 554s ok 810 /checksum/SHA256/68 554s ok 811 /checksum/SHA256/69 554s ok 812 /checksum/SHA256/70 554s ok 813 /checksum/SHA256/71 554s ok 814 /checksum/SHA256/72 554s ok 815 /checksum/SHA256/73 554s ok 816 /checksum/SHA256/74 554s ok 817 /checksum/SHA256/75 554s ok 818 /checksum/SHA256/76 554s ok 819 /checksum/SHA256/77 554s ok 820 /checksum/SHA256/78 554s ok 821 /checksum/SHA256/79 554s ok 822 /checksum/SHA256/80 554s ok 823 /checksum/SHA256/81 554s ok 824 /checksum/SHA256/82 554s ok 825 /checksum/SHA256/83 554s ok 826 /checksum/SHA256/84 554s ok 827 /checksum/SHA256/85 554s ok 828 /checksum/SHA256/86 554s ok 829 /checksum/SHA256/87 554s ok 830 /checksum/SHA256/88 554s ok 831 /checksum/SHA256/89 554s ok 832 /checksum/SHA256/90 554s ok 833 /checksum/SHA256/91 554s ok 834 /checksum/SHA256/92 554s ok 835 /checksum/SHA256/93 554s ok 836 /checksum/SHA256/94 554s ok 837 /checksum/SHA256/95 554s ok 838 /checksum/SHA256/96 554s ok 839 /checksum/SHA256/97 554s ok 840 /checksum/SHA256/98 554s ok 841 /checksum/SHA256/99 554s ok 842 /checksum/SHA256/100 554s ok 843 /checksum/SHA256/101 554s ok 844 /checksum/SHA256/102 554s ok 845 /checksum/SHA256/103 554s ok 846 /checksum/SHA256/104 554s ok 847 /checksum/SHA256/105 554s ok 848 /checksum/SHA256/106 554s ok 849 /checksum/SHA256/107 554s ok 850 /checksum/SHA256/108 554s ok 851 /checksum/SHA256/109 554s ok 852 /checksum/SHA256/110 554s ok 853 /checksum/SHA256/111 554s ok 854 /checksum/SHA256/112 554s ok 855 /checksum/SHA256/113 554s ok 856 /checksum/SHA256/114 554s ok 857 /checksum/SHA256/115 554s ok 858 /checksum/SHA256/116 554s ok 859 /checksum/SHA256/117 554s ok 860 /checksum/SHA256/118 554s ok 861 /checksum/SHA256/119 554s ok 862 /checksum/SHA256/120 554s ok 863 /checksum/SHA256/121 554s ok 864 /checksum/SHA256/122 554s ok 865 /checksum/SHA256/123 554s ok 866 /checksum/SHA256/124 554s ok 867 /checksum/SHA256/125 554s ok 868 /checksum/SHA256/126 554s ok 869 /checksum/SHA256/127 554s ok 870 /checksum/SHA256/128 554s ok 871 /checksum/SHA256/129 554s ok 872 /checksum/SHA256/130 554s ok 873 /checksum/SHA256/131 554s ok 874 /checksum/SHA256/132 554s ok 875 /checksum/SHA256/133 554s ok 876 /checksum/SHA256/134 554s ok 877 /checksum/SHA256/135 554s ok 878 /checksum/SHA256/136 554s ok 879 /checksum/SHA256/137 554s ok 880 /checksum/SHA256/138 554s ok 881 /checksum/SHA256/139 554s ok 882 /checksum/SHA256/140 554s ok 883 /checksum/SHA256/141 554s ok 884 /checksum/SHA256/142 554s ok 885 /checksum/SHA256/143 554s ok 886 /checksum/SHA256/144 554s ok 887 /checksum/SHA256/145 554s ok 888 /checksum/SHA256/146 554s ok 889 /checksum/SHA256/147 554s ok 890 /checksum/SHA256/148 554s ok 891 /checksum/SHA256/149 554s ok 892 /checksum/SHA256/150 554s ok 893 /checksum/SHA256/151 554s ok 894 /checksum/SHA256/152 554s ok 895 /checksum/SHA256/153 554s ok 896 /checksum/SHA256/154 554s ok 897 /checksum/SHA256/155 554s ok 898 /checksum/SHA256/156 554s ok 899 /checksum/SHA256/157 554s ok 900 /checksum/SHA256/158 554s ok 901 /checksum/SHA256/159 554s ok 902 /checksum/SHA256/160 554s ok 903 /checksum/SHA256/161 554s ok 904 /checksum/SHA256/162 554s ok 905 /checksum/SHA256/163 554s ok 906 /checksum/SHA256/164 554s ok 907 /checksum/SHA256/165 554s ok 908 /checksum/SHA256/166 554s ok 909 /checksum/SHA256/167 554s ok 910 /checksum/SHA256/168 554s ok 911 /checksum/SHA256/169 554s ok 912 /checksum/SHA256/170 554s ok 913 /checksum/SHA256/171 554s ok 914 /checksum/SHA256/172 554s ok 915 /checksum/SHA256/173 554s ok 916 /checksum/SHA256/174 554s ok 917 /checksum/SHA256/175 554s ok 918 /checksum/SHA256/176 554s ok 919 /checksum/SHA256/177 554s ok 920 /checksum/SHA256/178 554s ok 921 /checksum/SHA256/179 554s ok 922 /checksum/SHA256/180 554s ok 923 /checksum/SHA256/181 554s ok 924 /checksum/SHA256/182 554s ok 925 /checksum/SHA256/183 554s ok 926 /checksum/SHA256/string 554s ok 927 /checksum/SHA256/bytes 554s # Start of reset tests 554s ok 928 /checksum/SHA256/reset/0 554s ok 929 /checksum/SHA256/reset/1 554s ok 930 /checksum/SHA256/reset/2 554s ok 931 /checksum/SHA256/reset/3 554s ok 932 /checksum/SHA256/reset/4 554s ok 933 /checksum/SHA256/reset/5 554s ok 934 /checksum/SHA256/reset/6 554s ok 935 /checksum/SHA256/reset/7 554s ok 936 /checksum/SHA256/reset/8 554s ok 937 /checksum/SHA256/reset/9 554s ok 938 /checksum/SHA256/reset/10 554s ok 939 /checksum/SHA256/reset/11 554s ok 940 /checksum/SHA256/reset/12 554s ok 941 /checksum/SHA256/reset/13 554s ok 942 /checksum/SHA256/reset/14 554s ok 943 /checksum/SHA256/reset/15 554s ok 944 /checksum/SHA256/reset/16 554s ok 945 /checksum/SHA256/reset/17 554s ok 946 /checksum/SHA256/reset/18 554s ok 947 /checksum/SHA256/reset/19 554s ok 948 /checksum/SHA256/reset/20 554s ok 949 /checksum/SHA256/reset/21 554s ok 950 /checksum/SHA256/reset/22 554s ok 951 /checksum/SHA256/reset/23 554s ok 952 /checksum/SHA256/reset/24 554s ok 953 /checksum/SHA256/reset/25 554s ok 954 /checksum/SHA256/reset/26 554s ok 955 /checksum/SHA256/reset/27 554s ok 956 /checksum/SHA256/reset/28 554s ok 957 /checksum/SHA256/reset/29 554s ok 958 /checksum/SHA256/reset/30 554s ok 959 /checksum/SHA256/reset/31 554s ok 960 /checksum/SHA256/reset/32 554s ok 961 /checksum/SHA256/reset/33 554s ok 962 /checksum/SHA256/reset/34 554s ok 963 /checksum/SHA256/reset/35 554s ok 964 /checksum/SHA256/reset/36 554s ok 965 /checksum/SHA256/reset/37 554s ok 966 /checksum/SHA256/reset/38 554s ok 967 /checksum/SHA256/reset/39 554s ok 968 /checksum/SHA256/reset/40 554s ok 969 /checksum/SHA256/reset/41 554s ok 970 /checksum/SHA256/reset/42 554s ok 971 /checksum/SHA256/reset/43 554s ok 972 /checksum/SHA256/reset/44 554s ok 973 /checksum/SHA256/reset/45 554s ok 974 /checksum/SHA256/reset/46 554s ok 975 /checksum/SHA256/reset/47 554s ok 976 /checksum/SHA256/reset/48 554s ok 977 /checksum/SHA256/reset/49 554s ok 978 /checksum/SHA256/reset/50 554s ok 979 /checksum/SHA256/reset/51 554s ok 980 /checksum/SHA256/reset/52 554s ok 981 /checksum/SHA256/reset/53 554s ok 982 /checksum/SHA256/reset/54 554s ok 983 /checksum/SHA256/reset/55 554s ok 984 /checksum/SHA256/reset/56 554s ok 985 /checksum/SHA256/reset/57 554s ok 986 /checksum/SHA256/reset/58 554s ok 987 /checksum/SHA256/reset/59 554s ok 988 /checksum/SHA256/reset/60 554s ok 989 /checksum/SHA256/reset/61 554s ok 990 /checksum/SHA256/reset/62 554s ok 991 /checksum/SHA256/reset/63 554s ok 992 /checksum/SHA256/reset/64 554s ok 993 /checksum/SHA256/reset/65 554s ok 994 /checksum/SHA256/reset/66 554s ok 995 /checksum/SHA256/reset/67 554s ok 996 /checksum/SHA256/reset/68 554s ok 997 /checksum/SHA256/reset/69 554s ok 998 /checksum/SHA256/reset/70 554s ok 999 /checksum/SHA256/reset/71 554s ok 1000 /checksum/SHA256/reset/72 554s ok 1001 /checksum/SHA256/reset/73 554s ok 1002 /checksum/SHA256/reset/74 554s ok 1003 /checksum/SHA256/reset/75 554s ok 1004 /checksum/SHA256/reset/76 554s ok 1005 /checksum/SHA256/reset/77 554s ok 1006 /checksum/SHA256/reset/78 554s ok 1007 /checksum/SHA256/reset/79 554s ok 1008 /checksum/SHA256/reset/80 554s ok 1009 /checksum/SHA256/reset/81 554s ok 1010 /checksum/SHA256/reset/82 554s ok 1011 /checksum/SHA256/reset/83 554s ok 1012 /checksum/SHA256/reset/84 554s ok 1013 /checksum/SHA256/reset/85 554s ok 1014 /checksum/SHA256/reset/86 554s ok 1015 /checksum/SHA256/reset/87 554s ok 1016 /checksum/SHA256/reset/88 554s ok 1017 /checksum/SHA256/reset/89 554s ok 1018 /checksum/SHA256/reset/90 554s ok 1019 /checksum/SHA256/reset/91 554s ok 1020 /checksum/SHA256/reset/92 554s ok 1021 /checksum/SHA256/reset/93 554s ok 1022 /checksum/SHA256/reset/94 554s ok 1023 /checksum/SHA256/reset/95 554s ok 1024 /checksum/SHA256/reset/96 554s ok 1025 /checksum/SHA256/reset/97 554s ok 1026 /checksum/SHA256/reset/98 554s ok 1027 /checksum/SHA256/reset/99 554s ok 1028 /checksum/SHA256/reset/100 554s ok 1029 /checksum/SHA256/reset/101 554s ok 1030 /checksum/SHA256/reset/102 554s ok 1031 /checksum/SHA256/reset/103 554s ok 1032 /checksum/SHA256/reset/104 554s ok 1033 /checksum/SHA256/reset/105 554s ok 1034 /checksum/SHA256/reset/106 554s ok 1035 /checksum/SHA256/reset/107 554s ok 1036 /checksum/SHA256/reset/108 554s ok 1037 /checksum/SHA256/reset/109 554s ok 1038 /checksum/SHA256/reset/110 554s ok 1039 /checksum/SHA256/reset/111 554s ok 1040 /checksum/SHA256/reset/112 554s ok 1041 /checksum/SHA256/reset/113 554s ok 1042 /checksum/SHA256/reset/114 554s ok 1043 /checksum/SHA256/reset/115 554s ok 1044 /checksum/SHA256/reset/116 554s ok 1045 /checksum/SHA256/reset/117 554s ok 1046 /checksum/SHA256/reset/118 554s ok 1047 /checksum/SHA256/reset/119 554s ok 1048 /checksum/SHA256/reset/120 554s ok 1049 /checksum/SHA256/reset/121 554s ok 1050 /checksum/SHA256/reset/122 554s ok 1051 /checksum/SHA256/reset/123 554s ok 1052 /checksum/SHA256/reset/124 554s ok 1053 /checksum/SHA256/reset/125 554s ok 1054 /checksum/SHA256/reset/126 554s ok 1055 /checksum/SHA256/reset/127 554s ok 1056 /checksum/SHA256/reset/128 554s ok 1057 /checksum/SHA256/reset/129 554s ok 1058 /checksum/SHA256/reset/130 554s ok 1059 /checksum/SHA256/reset/131 554s ok 1060 /checksum/SHA256/reset/132 554s ok 1061 /checksum/SHA256/reset/133 554s ok 1062 /checksum/SHA256/reset/134 554s ok 1063 /checksum/SHA256/reset/135 554s ok 1064 /checksum/SHA256/reset/136 554s ok 1065 /checksum/SHA256/reset/137 554s ok 1066 /checksum/SHA256/reset/138 554s ok 1067 /checksum/SHA256/reset/139 554s ok 1068 /checksum/SHA256/reset/140 554s ok 1069 /checksum/SHA256/reset/141 554s ok 1070 /checksum/SHA256/reset/142 554s ok 1071 /checksum/SHA256/reset/143 554s ok 1072 /checksum/SHA256/reset/144 554s ok 1073 /checksum/SHA256/reset/145 554s ok 1074 /checksum/SHA256/reset/146 554s ok 1075 /checksum/SHA256/reset/147 554s ok 1076 /checksum/SHA256/reset/148 554s ok 1077 /checksum/SHA256/reset/149 554s ok 1078 /checksum/SHA256/reset/150 554s ok 1079 /checksum/SHA256/reset/151 554s ok 1080 /checksum/SHA256/reset/152 554s ok 1081 /checksum/SHA256/reset/153 554s ok 1082 /checksum/SHA256/reset/154 554s ok 1083 /checksum/SHA256/reset/155 554s ok 1084 /checksum/SHA256/reset/156 554s ok 1085 /checksum/SHA256/reset/157 554s ok 1086 /checksum/SHA256/reset/158 554s ok 1087 /checksum/SHA256/reset/159 554s ok 1088 /checksum/SHA256/reset/160 554s ok 1089 /checksum/SHA256/reset/161 554s ok 1090 /checksum/SHA256/reset/162 554s ok 1091 /checksum/SHA256/reset/163 554s ok 1092 /checksum/SHA256/reset/164 554s ok 1093 /checksum/SHA256/reset/165 554s ok 1094 /checksum/SHA256/reset/166 554s ok 1095 /checksum/SHA256/reset/167 554s ok 1096 /checksum/SHA256/reset/168 554s ok 1097 /checksum/SHA256/reset/169 554s ok 1098 /checksum/SHA256/reset/170 554s ok 1099 /checksum/SHA256/reset/171 554s ok 1100 /checksum/SHA256/reset/172 554s ok 1101 /checksum/SHA256/reset/173 554s ok 1102 /checksum/SHA256/reset/174 554s ok 1103 /checksum/SHA256/reset/175 554s ok 1104 /checksum/SHA256/reset/176 554s ok 1105 /checksum/SHA256/reset/177 554s ok 1106 /checksum/SHA256/reset/178 554s ok 1107 /checksum/SHA256/reset/179 554s ok 1108 /checksum/SHA256/reset/180 554s ok 1109 /checksum/SHA256/reset/181 554s ok 1110 /checksum/SHA256/reset/182 554s ok 1111 /checksum/SHA256/reset/183 554s # End of reset tests 554s # End of SHA256 tests 554s # Start of SHA384 tests 554s ok 1112 /checksum/SHA384/0 554s ok 1113 /checksum/SHA384/1 554s ok 1114 /checksum/SHA384/2 554s ok 1115 /checksum/SHA384/3 554s ok 1116 /checksum/SHA384/4 554s ok 1117 /checksum/SHA384/5 554s ok 1118 /checksum/SHA384/6 554s ok 1119 /checksum/SHA384/7 554s ok 1120 /checksum/SHA384/8 554s ok 1121 /checksum/SHA384/9 554s ok 1122 /checksum/SHA384/10 554s ok 1123 /checksum/SHA384/11 554s ok 1124 /checksum/SHA384/12 554s ok 1125 /checksum/SHA384/13 554s ok 1126 /checksum/SHA384/14 554s ok 1127 /checksum/SHA384/15 554s ok 1128 /checksum/SHA384/16 554s ok 1129 /checksum/SHA384/17 554s ok 1130 /checksum/SHA384/18 554s ok 1131 /checksum/SHA384/19 554s ok 1132 /checksum/SHA384/20 554s ok 1133 /checksum/SHA384/21 554s ok 1134 /checksum/SHA384/22 554s ok 1135 /checksum/SHA384/23 554s ok 1136 /checksum/SHA384/24 554s ok 1137 /checksum/SHA384/25 554s ok 1138 /checksum/SHA384/26 554s ok 1139 /checksum/SHA384/27 554s ok 1140 /checksum/SHA384/28 554s ok 1141 /checksum/SHA384/29 554s ok 1142 /checksum/SHA384/30 554s ok 1143 /checksum/SHA384/31 554s ok 1144 /checksum/SHA384/32 554s ok 1145 /checksum/SHA384/33 554s ok 1146 /checksum/SHA384/34 554s ok 1147 /checksum/SHA384/35 554s ok 1148 /checksum/SHA384/36 554s ok 1149 /checksum/SHA384/37 554s ok 1150 /checksum/SHA384/38 554s ok 1151 /checksum/SHA384/39 554s ok 1152 /checksum/SHA384/40 554s ok 1153 /checksum/SHA384/41 554s ok 1154 /checksum/SHA384/42 554s ok 1155 /checksum/SHA384/43 554s ok 1156 /checksum/SHA384/44 554s ok 1157 /checksum/SHA384/45 554s ok 1158 /checksum/SHA384/46 554s ok 1159 /checksum/SHA384/47 554s ok 1160 /checksum/SHA384/48 554s ok 1161 /checksum/SHA384/49 554s ok 1162 /checksum/SHA384/50 554s ok 1163 /checksum/SHA384/51 554s ok 1164 /checksum/SHA384/52 554s ok 1165 /checksum/SHA384/53 554s ok 1166 /checksum/SHA384/54 554s ok 1167 /checksum/SHA384/55 554s ok 1168 /checksum/SHA384/56 554s ok 1169 /checksum/SHA384/57 554s ok 1170 /checksum/SHA384/58 554s ok 1171 /checksum/SHA384/59 554s ok 1172 /checksum/SHA384/60 554s ok 1173 /checksum/SHA384/61 554s ok 1174 /checksum/SHA384/62 554s ok 1175 /checksum/SHA384/63 554s ok 1176 /checksum/SHA384/64 554s ok 1177 /checksum/SHA384/65 554s ok 1178 /checksum/SHA384/66 554s ok 1179 /checksum/SHA384/67 554s ok 1180 /checksum/SHA384/68 554s ok 1181 /checksum/SHA384/69 554s ok 1182 /checksum/SHA384/70 554s ok 1183 /checksum/SHA384/71 554s ok 1184 /checksum/SHA384/72 554s ok 1185 /checksum/SHA384/73 554s ok 1186 /checksum/SHA384/74 554s ok 1187 /checksum/SHA384/75 554s ok 1188 /checksum/SHA384/76 554s ok 1189 /checksum/SHA384/77 554s ok 1190 /checksum/SHA384/78 554s ok 1191 /checksum/SHA384/79 554s ok 1192 /checksum/SHA384/80 554s ok 1193 /checksum/SHA384/81 554s ok 1194 /checksum/SHA384/82 554s ok 1195 /checksum/SHA384/83 554s ok 1196 /checksum/SHA384/84 554s ok 1197 /checksum/SHA384/85 554s ok 1198 /checksum/SHA384/86 554s ok 1199 /checksum/SHA384/87 554s ok 1200 /checksum/SHA384/88 554s ok 1201 /checksum/SHA384/89 554s ok 1202 /checksum/SHA384/90 554s ok 1203 /checksum/SHA384/91 554s ok 1204 /checksum/SHA384/92 554s ok 1205 /checksum/SHA384/93 554s ok 1206 /checksum/SHA384/94 554s ok 1207 /checksum/SHA384/95 554s ok 1208 /checksum/SHA384/96 554s ok 1209 /checksum/SHA384/97 554s ok 1210 /checksum/SHA384/98 554s ok 1211 /checksum/SHA384/99 554s ok 1212 /checksum/SHA384/100 554s ok 1213 /checksum/SHA384/101 554s ok 1214 /checksum/SHA384/102 554s ok 1215 /checksum/SHA384/103 554s ok 1216 /checksum/SHA384/104 554s ok 1217 /checksum/SHA384/105 554s ok 1218 /checksum/SHA384/106 554s ok 1219 /checksum/SHA384/107 554s ok 1220 /checksum/SHA384/108 554s ok 1221 /checksum/SHA384/109 554s ok 1222 /checksum/SHA384/110 554s ok 1223 /checksum/SHA384/111 554s ok 1224 /checksum/SHA384/112 554s ok 1225 /checksum/SHA384/113 554s ok 1226 /checksum/SHA384/114 554s ok 1227 /checksum/SHA384/115 554s ok 1228 /checksum/SHA384/116 554s ok 1229 /checksum/SHA384/117 554s ok 1230 /checksum/SHA384/118 554s ok 1231 /checksum/SHA384/119 554s ok 1232 /checksum/SHA384/120 554s ok 1233 /checksum/SHA384/121 554s ok 1234 /checksum/SHA384/122 554s ok 1235 /checksum/SHA384/123 554s ok 1236 /checksum/SHA384/124 554s ok 1237 /checksum/SHA384/125 554s ok 1238 /checksum/SHA384/126 554s ok 1239 /checksum/SHA384/127 554s ok 1240 /checksum/SHA384/128 554s ok 1241 /checksum/SHA384/129 554s ok 1242 /checksum/SHA384/130 554s ok 1243 /checksum/SHA384/131 554s ok 1244 /checksum/SHA384/132 554s ok 1245 /checksum/SHA384/133 554s ok 1246 /checksum/SHA384/134 554s ok 1247 /checksum/SHA384/135 554s ok 1248 /checksum/SHA384/136 554s ok 1249 /checksum/SHA384/137 554s ok 1250 /checksum/SHA384/138 554s ok 1251 /checksum/SHA384/139 554s ok 1252 /checksum/SHA384/140 554s ok 1253 /checksum/SHA384/141 554s ok 1254 /checksum/SHA384/142 554s ok 1255 /checksum/SHA384/143 554s ok 1256 /checksum/SHA384/144 554s ok 1257 /checksum/SHA384/145 554s ok 1258 /checksum/SHA384/146 554s ok 1259 /checksum/SHA384/147 554s ok 1260 /checksum/SHA384/148 554s ok 1261 /checksum/SHA384/149 554s ok 1262 /checksum/SHA384/150 554s ok 1263 /checksum/SHA384/151 554s ok 1264 /checksum/SHA384/152 554s ok 1265 /checksum/SHA384/153 554s ok 1266 /checksum/SHA384/154 554s ok 1267 /checksum/SHA384/155 554s ok 1268 /checksum/SHA384/156 554s ok 1269 /checksum/SHA384/157 554s ok 1270 /checksum/SHA384/158 554s ok 1271 /checksum/SHA384/159 554s ok 1272 /checksum/SHA384/160 554s ok 1273 /checksum/SHA384/161 554s ok 1274 /checksum/SHA384/162 554s ok 1275 /checksum/SHA384/163 554s ok 1276 /checksum/SHA384/164 554s ok 1277 /checksum/SHA384/165 554s ok 1278 /checksum/SHA384/166 554s ok 1279 /checksum/SHA384/167 554s ok 1280 /checksum/SHA384/168 554s ok 1281 /checksum/SHA384/169 554s ok 1282 /checksum/SHA384/170 554s ok 1283 /checksum/SHA384/171 554s ok 1284 /checksum/SHA384/172 554s ok 1285 /checksum/SHA384/173 554s ok 1286 /checksum/SHA384/174 554s ok 1287 /checksum/SHA384/175 554s ok 1288 /checksum/SHA384/176 554s ok 1289 /checksum/SHA384/177 554s ok 1290 /checksum/SHA384/178 554s ok 1291 /checksum/SHA384/179 554s ok 1292 /checksum/SHA384/180 554s ok 1293 /checksum/SHA384/181 554s ok 1294 /checksum/SHA384/182 554s ok 1295 /checksum/SHA384/183 554s ok 1296 /checksum/SHA384/string 554s ok 1297 /checksum/SHA384/bytes 554s # Start of reset tests 554s ok 1298 /checksum/SHA384/reset/0 554s ok 1299 /checksum/SHA384/reset/1 554s ok 1300 /checksum/SHA384/reset/2 554s ok 1301 /checksum/SHA384/reset/3 554s ok 1302 /checksum/SHA384/reset/4 554s ok 1303 /checksum/SHA384/reset/5 554s ok 1304 /checksum/SHA384/reset/6 554s ok 1305 /checksum/SHA384/reset/7 554s ok 1306 /checksum/SHA384/reset/8 554s ok 1307 /checksum/SHA384/reset/9 554s ok 1308 /checksum/SHA384/reset/10 554s ok 1309 /checksum/SHA384/reset/11 554s ok 1310 /checksum/SHA384/reset/12 554s ok 1311 /checksum/SHA384/reset/13 554s ok 1312 /checksum/SHA384/reset/14 554s ok 1313 /checksum/SHA384/reset/15 554s ok 1314 /checksum/SHA384/reset/16 554s ok 1315 /checksum/SHA384/reset/17 554s ok 1316 /checksum/SHA384/reset/18 554s ok 1317 /checksum/SHA384/reset/19 554s ok 1318 /checksum/SHA384/reset/20 554s ok 1319 /checksum/SHA384/reset/21 554s ok 1320 /checksum/SHA384/reset/22 554s ok 1321 /checksum/SHA384/reset/23 554s ok 1322 /checksum/SHA384/reset/24 554s ok 1323 /checksum/SHA384/reset/25 554s ok 1324 /checksum/SHA384/reset/26 554s ok 1325 /checksum/SHA384/reset/27 554s ok 1326 /checksum/SHA384/reset/28 554s ok 1327 /checksum/SHA384/reset/29 554s ok 1328 /checksum/SHA384/reset/30 554s ok 1329 /checksum/SHA384/reset/31 554s ok 1330 /checksum/SHA384/reset/32 554s ok 1331 /checksum/SHA384/reset/33 554s ok 1332 /checksum/SHA384/reset/34 554s ok 1333 /checksum/SHA384/reset/35 554s ok 1334 /checksum/SHA384/reset/36 554s ok 1335 /checksum/SHA384/reset/37 554s ok 1336 /checksum/SHA384/reset/38 554s ok 1337 /checksum/SHA384/reset/39 554s ok 1338 /checksum/SHA384/reset/40 554s ok 1339 /checksum/SHA384/reset/41 554s ok 1340 /checksum/SHA384/reset/42 554s ok 1341 /checksum/SHA384/reset/43 554s ok 1342 /checksum/SHA384/reset/44 554s ok 1343 /checksum/SHA384/reset/45 554s ok 1344 /checksum/SHA384/reset/46 554s ok 1345 /checksum/SHA384/reset/47 554s ok 1346 /checksum/SHA384/reset/48 554s ok 1347 /checksum/SHA384/reset/49 554s ok 1348 /checksum/SHA384/reset/50 554s ok 1349 /checksum/SHA384/reset/51 554s ok 1350 /checksum/SHA384/reset/52 554s ok 1351 /checksum/SHA384/reset/53 554s ok 1352 /checksum/SHA384/reset/54 554s ok 1353 /checksum/SHA384/reset/55 554s ok 1354 /checksum/SHA384/reset/56 554s ok 1355 /checksum/SHA384/reset/57 554s ok 1356 /checksum/SHA384/reset/58 554s ok 1357 /checksum/SHA384/reset/59 554s ok 1358 /checksum/SHA384/reset/60 554s ok 1359 /checksum/SHA384/reset/61 554s ok 1360 /checksum/SHA384/reset/62 554s ok 1361 /checksum/SHA384/reset/63 554s ok 1362 /checksum/SHA384/reset/64 554s ok 1363 /checksum/SHA384/reset/65 554s ok 1364 /checksum/SHA384/reset/66 554s ok 1365 /checksum/SHA384/reset/67 554s ok 1366 /checksum/SHA384/reset/68 554s ok 1367 /checksum/SHA384/reset/69 554s ok 1368 /checksum/SHA384/reset/70 554s ok 1369 /checksum/SHA384/reset/71 554s ok 1370 /checksum/SHA384/reset/72 554s ok 1371 /checksum/SHA384/reset/73 554s ok 1372 /checksum/SHA384/reset/74 554s ok 1373 /checksum/SHA384/reset/75 554s ok 1374 /checksum/SHA384/reset/76 554s ok 1375 /checksum/SHA384/reset/77 554s ok 1376 /checksum/SHA384/reset/78 554s ok 1377 /checksum/SHA384/reset/79 554s ok 1378 /checksum/SHA384/reset/80 554s ok 1379 /checksum/SHA384/reset/81 554s ok 1380 /checksum/SHA384/reset/82 554s ok 1381 /checksum/SHA384/reset/83 554s ok 1382 /checksum/SHA384/reset/84 554s ok 1383 /checksum/SHA384/reset/85 554s ok 1384 /checksum/SHA384/reset/86 554s ok 1385 /checksum/SHA384/reset/87 554s ok 1386 /checksum/SHA384/reset/88 554s ok 1387 /checksum/SHA384/reset/89 554s ok 1388 /checksum/SHA384/reset/90 554s ok 1389 /checksum/SHA384/reset/91 554s ok 1390 /checksum/SHA384/reset/92 554s ok 1391 /checksum/SHA384/reset/93 554s ok 1392 /checksum/SHA384/reset/94 554s ok 1393 /checksum/SHA384/reset/95 554s ok 1394 /checksum/SHA384/reset/96 554s ok 1395 /checksum/SHA384/reset/97 554s ok 1396 /checksum/SHA384/reset/98 554s ok 1397 /checksum/SHA384/reset/99 554s ok 1398 /checksum/SHA384/reset/100 554s ok 1399 /checksum/SHA384/reset/101 554s ok 1400 /checksum/SHA384/reset/102 554s ok 1401 /checksum/SHA384/reset/103 554s ok 1402 /checksum/SHA384/reset/104 554s ok 1403 /checksum/SHA384/reset/105 554s ok 1404 /checksum/SHA384/reset/106 554s ok 1405 /checksum/SHA384/reset/107 554s ok 1406 /checksum/SHA384/reset/108 554s ok 1407 /checksum/SHA384/reset/109 554s ok 1408 /checksum/SHA384/reset/110 554s ok 1409 /checksum/SHA384/reset/111 554s ok 1410 /checksum/SHA384/reset/112 554s ok 1411 /checksum/SHA384/reset/113 554s ok 1412 /checksum/SHA384/reset/114 554s ok 1413 /checksum/SHA384/reset/115 554s ok 1414 /checksum/SHA384/reset/116 554s ok 1415 /checksum/SHA384/reset/117 554s ok 1416 /checksum/SHA384/reset/118 554s ok 1417 /checksum/SHA384/reset/119 554s ok 1418 /checksum/SHA384/reset/120 554s ok 1419 /checksum/SHA384/reset/121 554s ok 1420 /checksum/SHA384/reset/122 554s ok 1421 /checksum/SHA384/reset/123 554s ok 1422 /checksum/SHA384/reset/124 554s ok 1423 /checksum/SHA384/reset/125 554s ok 1424 /checksum/SHA384/reset/126 554s ok 1425 /checksum/SHA384/reset/127 554s ok 1426 /checksum/SHA384/reset/128 554s ok 1427 /checksum/SHA384/reset/129 554s ok 1428 /checksum/SHA384/reset/130 554s ok 1429 /checksum/SHA384/reset/131 554s ok 1430 /checksum/SHA384/reset/132 554s ok 1431 /checksum/SHA384/reset/133 554s ok 1432 /checksum/SHA384/reset/134 554s ok 1433 /checksum/SHA384/reset/135 554s ok 1434 /checksum/SHA384/reset/136 554s ok 1435 /checksum/SHA384/reset/137 554s ok 1436 /checksum/SHA384/reset/138 554s ok 1437 /checksum/SHA384/reset/139 554s ok 1438 /checksum/SHA384/reset/140 554s ok 1439 /checksum/SHA384/reset/141 554s ok 1440 /checksum/SHA384/reset/142 554s ok 1441 /checksum/SHA384/reset/143 554s ok 1442 /checksum/SHA384/reset/144 554s ok 1443 /checksum/SHA384/reset/145 554s ok 1444 /checksum/SHA384/reset/146 554s ok 1445 /checksum/SHA384/reset/147 554s ok 1446 /checksum/SHA384/reset/148 554s ok 1447 /checksum/SHA384/reset/149 554s ok 1448 /checksum/SHA384/reset/150 554s ok 1449 /checksum/SHA384/reset/151 554s ok 1450 /checksum/SHA384/reset/152 554s ok 1451 /checksum/SHA384/reset/153 554s ok 1452 /checksum/SHA384/reset/154 554s ok 1453 /checksum/SHA384/reset/155 554s ok 1454 /checksum/SHA384/reset/156 554s ok 1455 /checksum/SHA384/reset/157 554s ok 1456 /checksum/SHA384/reset/158 554s ok 1457 /checksum/SHA384/reset/159 554s ok 1458 /checksum/SHA384/reset/160 554s ok 1459 /checksum/SHA384/reset/161 554s ok 1460 /checksum/SHA384/reset/162 554s ok 1461 /checksum/SHA384/reset/163 554s ok 1462 /checksum/SHA384/reset/164 554s ok 1463 /checksum/SHA384/reset/165 554s ok 1464 /checksum/SHA384/reset/166 554s ok 1465 /checksum/SHA384/reset/167 554s ok 1466 /checksum/SHA384/reset/168 554s ok 1467 /checksum/SHA384/reset/169 554s ok 1468 /checksum/SHA384/reset/170 554s ok 1469 /checksum/SHA384/reset/171 554s ok 1470 /checksum/SHA384/reset/172 554s ok 1471 /checksum/SHA384/reset/173 554s ok 1472 /checksum/SHA384/reset/174 554s ok 1473 /checksum/SHA384/reset/175 554s ok 1474 /checksum/SHA384/reset/176 554s ok 1475 /checksum/SHA384/reset/177 554s ok 1476 /checksum/SHA384/reset/178 554s ok 1477 /checksum/SHA384/reset/179 554s ok 1478 /checksum/SHA384/reset/180 554s ok 1479 /checksum/SHA384/reset/181 554s ok 1480 /checksum/SHA384/reset/182 554s ok 1481 /checksum/SHA384/reset/183 554s # End of reset tests 554s # End of SHA384 tests 554s # Start of SHA512 tests 554s ok 1482 /checksum/SHA512/0 554s ok 1483 /checksum/SHA512/1 554s ok 1484 /checksum/SHA512/2 554s ok 1485 /checksum/SHA512/3 554s ok 1486 /checksum/SHA512/4 554s ok 1487 /checksum/SHA512/5 554s ok 1488 /checksum/SHA512/6 554s ok 1489 /checksum/SHA512/7 554s ok 1490 /checksum/SHA512/8 554s ok 1491 /checksum/SHA512/9 554s ok 1492 /checksum/SHA512/10 554s ok 1493 /checksum/SHA512/11 554s ok 1494 /checksum/SHA512/12 554s ok 1495 /checksum/SHA512/13 554s ok 1496 /checksum/SHA512/14 554s ok 1497 /checksum/SHA512/15 554s ok 1498 /checksum/SHA512/16 554s ok 1499 /checksum/SHA512/17 554s ok 1500 /checksum/SHA512/18 554s ok 1501 /checksum/SHA512/19 554s ok 1502 /checksum/SHA512/20 554s ok 1503 /checksum/SHA512/21 554s ok 1504 /checksum/SHA512/22 554s ok 1505 /checksum/SHA512/23 554s ok 1506 /checksum/SHA512/24 554s ok 1507 /checksum/SHA512/25 554s ok 1508 /checksum/SHA512/26 554s ok 1509 /checksum/SHA512/27 554s ok 1510 /checksum/SHA512/28 554s ok 1511 /checksum/SHA512/29 554s ok 1512 /checksum/SHA512/30 554s ok 1513 /checksum/SHA512/31 554s ok 1514 /checksum/SHA512/32 554s ok 1515 /checksum/SHA512/33 554s ok 1516 /checksum/SHA512/34 554s ok 1517 /checksum/SHA512/35 554s ok 1518 /checksum/SHA512/36 554s ok 1519 /checksum/SHA512/37 554s ok 1520 /checksum/SHA512/38 554s ok 1521 /checksum/SHA512/39 554s ok 1522 /checksum/SHA512/40 554s ok 1523 /checksum/SHA512/41 554s ok 1524 /checksum/SHA512/42 554s ok 1525 /checksum/SHA512/43 554s ok 1526 /checksum/SHA512/44 554s ok 1527 /checksum/SHA512/45 554s ok 1528 /checksum/SHA512/46 554s ok 1529 /checksum/SHA512/47 554s ok 1530 /checksum/SHA512/48 554s ok 1531 /checksum/SHA512/49 554s ok 1532 /checksum/SHA512/50 554s ok 1533 /checksum/SHA512/51 554s ok 1534 /checksum/SHA512/52 554s ok 1535 /checksum/SHA512/53 554s ok 1536 /checksum/SHA512/54 554s ok 1537 /checksum/SHA512/55 554s ok 1538 /checksum/SHA512/56 554s ok 1539 /checksum/SHA512/57 554s ok 1540 /checksum/SHA512/58 554s ok 1541 /checksum/SHA512/59 554s ok 1542 /checksum/SHA512/60 554s ok 1543 /checksum/SHA512/61 554s ok 1544 /checksum/SHA512/62 554s ok 1545 /checksum/SHA512/63 554s ok 1546 /checksum/SHA512/64 554s ok 1547 /checksum/SHA512/65 554s ok 1548 /checksum/SHA512/66 554s ok 1549 /checksum/SHA512/67 554s ok 1550 /checksum/SHA512/68 554s ok 1551 /checksum/SHA512/69 554s ok 1552 /checksum/SHA512/70 554s ok 1553 /checksum/SHA512/71 554s ok 1554 /checksum/SHA512/72 554s ok 1555 /checksum/SHA512/73 554s ok 1556 /checksum/SHA512/74 554s ok 1557 /checksum/SHA512/75 554s ok 1558 /checksum/SHA512/76 554s ok 1559 /checksum/SHA512/77 554s ok 1560 /checksum/SHA512/78 554s ok 1561 /checksum/SHA512/79 554s ok 1562 /checksum/SHA512/80 554s ok 1563 /checksum/SHA512/81 554s ok 1564 /checksum/SHA512/82 554s ok 1565 /checksum/SHA512/83 554s ok 1566 /checksum/SHA512/84 554s ok 1567 /checksum/SHA512/85 554s ok 1568 /checksum/SHA512/86 554s ok 1569 /checksum/SHA512/87 554s ok 1570 /checksum/SHA512/88 554s ok 1571 /checksum/SHA512/89 554s ok 1572 /checksum/SHA512/90 554s ok 1573 /checksum/SHA512/91 554s ok 1574 /checksum/SHA512/92 554s ok 1575 /checksum/SHA512/93 554s ok 1576 /checksum/SHA512/94 554s ok 1577 /checksum/SHA512/95 554s ok 1578 /checksum/SHA512/96 554s ok 1579 /checksum/SHA512/97 554s ok 1580 /checksum/SHA512/98 554s ok 1581 /checksum/SHA512/99 554s ok 1582 /checksum/SHA512/100 554s ok 1583 /checksum/SHA512/101 554s ok 1584 /checksum/SHA512/102 554s ok 1585 /checksum/SHA512/103 554s ok 1586 /checksum/SHA512/104 554s ok 1587 /checksum/SHA512/105 554s ok 1588 /checksum/SHA512/106 554s ok 1589 /checksum/SHA512/107 554s ok 1590 /checksum/SHA512/108 554s ok 1591 /checksum/SHA512/109 554s ok 1592 /checksum/SHA512/110 554s ok 1593 /checksum/SHA512/111 554s ok 1594 /checksum/SHA512/112 554s ok 1595 /checksum/SHA512/113 554s ok 1596 /checksum/SHA512/114 554s ok 1597 /checksum/SHA512/115 554s ok 1598 /checksum/SHA512/116 554s ok 1599 /checksum/SHA512/117 554s ok 1600 /checksum/SHA512/118 554s ok 1601 /checksum/SHA512/119 554s ok 1602 /checksum/SHA512/120 554s ok 1603 /checksum/SHA512/121 554s ok 1604 /checksum/SHA512/122 554s ok 1605 /checksum/SHA512/123 554s ok 1606 /checksum/SHA512/124 554s ok 1607 /checksum/SHA512/125 554s ok 1608 /checksum/SHA512/126 554s ok 1609 /checksum/SHA512/127 554s ok 1610 /checksum/SHA512/128 554s ok 1611 /checksum/SHA512/129 554s ok 1612 /checksum/SHA512/130 554s ok 1613 /checksum/SHA512/131 554s ok 1614 /checksum/SHA512/132 554s ok 1615 /checksum/SHA512/133 554s ok 1616 /checksum/SHA512/134 554s ok 1617 /checksum/SHA512/135 554s ok 1618 /checksum/SHA512/136 554s ok 1619 /checksum/SHA512/137 554s ok 1620 /checksum/SHA512/138 554s ok 1621 /checksum/SHA512/139 554s ok 1622 /checksum/SHA512/140 554s ok 1623 /checksum/SHA512/141 554s ok 1624 /checksum/SHA512/142 554s ok 1625 /checksum/SHA512/143 554s ok 1626 /checksum/SHA512/144 554s ok 1627 /checksum/SHA512/145 554s ok 1628 /checksum/SHA512/146 554s ok 1629 /checksum/SHA512/147 554s ok 1630 /checksum/SHA512/148 554s ok 1631 /checksum/SHA512/149 554s ok 1632 /checksum/SHA512/150 554s ok 1633 /checksum/SHA512/151 554s ok 1634 /checksum/SHA512/152 554s ok 1635 /checksum/SHA512/153 554s ok 1636 /checksum/SHA512/154 554s ok 1637 /checksum/SHA512/155 554s ok 1638 /checksum/SHA512/156 554s ok 1639 /checksum/SHA512/157 554s ok 1640 /checksum/SHA512/158 554s ok 1641 /checksum/SHA512/159 554s ok 1642 /checksum/SHA512/160 554s ok 1643 /checksum/SHA512/161 554s ok 1644 /checksum/SHA512/162 554s ok 1645 /checksum/SHA512/163 554s ok 1646 /checksum/SHA512/164 554s ok 1647 /checksum/SHA512/165 554s ok 1648 /checksum/SHA512/166 554s ok 1649 /checksum/SHA512/167 554s ok 1650 /checksum/SHA512/168 554s ok 1651 /checksum/SHA512/169 554s ok 1652 /checksum/SHA512/170 554s ok 1653 /checksum/SHA512/171 554s ok 1654 /checksum/SHA512/172 554s ok 1655 /checksum/SHA512/173 554s ok 1656 /checksum/SHA512/174 554s ok 1657 /checksum/SHA512/175 554s ok 1658 /checksum/SHA512/176 554s ok 1659 /checksum/SHA512/177 554s ok 1660 /checksum/SHA512/178 554s ok 1661 /checksum/SHA512/179 554s ok 1662 /checksum/SHA512/180 554s ok 1663 /checksum/SHA512/181 554s ok 1664 /checksum/SHA512/182 554s ok 1665 /checksum/SHA512/183 554s ok 1666 /checksum/SHA512/string 554s ok 1667 /checksum/SHA512/bytes 554s # Start of reset tests 554s ok 1668 /checksum/SHA512/reset/0 554s ok 1669 /checksum/SHA512/reset/1 554s ok 1670 /checksum/SHA512/reset/2 554s ok 1671 /checksum/SHA512/reset/3 554s ok 1672 /checksum/SHA512/reset/4 554s ok 1673 /checksum/SHA512/reset/5 554s ok 1674 /checksum/SHA512/reset/6 554s ok 1675 /checksum/SHA512/reset/7 554s ok 1676 /checksum/SHA512/reset/8 554s ok 1677 /checksum/SHA512/reset/9 554s ok 1678 /checksum/SHA512/reset/10 554s ok 1679 /checksum/SHA512/reset/11 554s ok 1680 /checksum/SHA512/reset/12 554s ok 1681 /checksum/SHA512/reset/13 554s ok 1682 /checksum/SHA512/reset/14 554s ok 1683 /checksum/SHA512/reset/15 554s ok 1684 /checksum/SHA512/reset/16 554s ok 1685 /checksum/SHA512/reset/17 554s ok 1686 /checksum/SHA512/reset/18 554s ok 1687 /checksum/SHA512/reset/19 554s ok 1688 /checksum/SHA512/reset/20 554s ok 1689 /checksum/SHA512/reset/21 554s ok 1690 /checksum/SHA512/reset/22 554s ok 1691 /checksum/SHA512/reset/23 554s ok 1692 /checksum/SHA512/reset/24 554s ok 1693 /checksum/SHA512/reset/25 554s ok 1694 /checksum/SHA512/reset/26 554s ok 1695 /checksum/SHA512/reset/27 554s ok 1696 /checksum/SHA512/reset/28 554s ok 1697 /checksum/SHA512/reset/29 554s ok 1698 /checksum/SHA512/reset/30 554s ok 1699 /checksum/SHA512/reset/31 554s ok 1700 /checksum/SHA512/reset/32 554s ok 1701 /checksum/SHA512/reset/33 554s ok 1702 /checksum/SHA512/reset/34 554s ok 1703 /checksum/SHA512/reset/35 554s ok 1704 /checksum/SHA512/reset/36 554s ok 1705 /checksum/SHA512/reset/37 554s ok 1706 /checksum/SHA512/reset/38 554s ok 1707 /checksum/SHA512/reset/39 554s ok 1708 /checksum/SHA512/reset/40 554s ok 1709 /checksum/SHA512/reset/41 554s ok 1710 /checksum/SHA512/reset/42 554s ok 1711 /checksum/SHA512/reset/43 554s ok 1712 /checksum/SHA512/reset/44 554s ok 1713 /checksum/SHA512/reset/45 554s ok 1714 /checksum/SHA512/reset/46 554s ok 1715 /checksum/SHA512/reset/47 554s ok 1716 /checksum/SHA512/reset/48 554s ok 1717 /checksum/SHA512/reset/49 554s ok 1718 /checksum/SHA512/reset/50 554s ok 1719 /checksum/SHA512/reset/51 554s ok 1720 /checksum/SHA512/reset/52 554s ok 1721 /checksum/SHA512/reset/53 554s ok 1722 /checksum/SHA512/reset/54 554s ok 1723 /checksum/SHA512/reset/55 554s ok 1724 /checksum/SHA512/reset/56 554s ok 1725 /checksum/SHA512/reset/57 554s ok 1726 /checksum/SHA512/reset/58 554s ok 1727 /checksum/SHA512/reset/59 554s ok 1728 /checksum/SHA512/reset/60 554s ok 1729 /checksum/SHA512/reset/61 554s ok 1730 /checksum/SHA512/reset/62 554s ok 1731 /checksum/SHA512/reset/63 554s ok 1732 /checksum/SHA512/reset/64 554s ok 1733 /checksum/SHA512/reset/65 554s ok 1734 /checksum/SHA512/reset/66 554s ok 1735 /checksum/SHA512/reset/67 554s ok 1736 /checksum/SHA512/reset/68 554s ok 1737 /checksum/SHA512/reset/69 554s ok 1738 /checksum/SHA512/reset/70 554s ok 1739 /checksum/SHA512/reset/71 554s ok 1740 /checksum/SHA512/reset/72 554s ok 1741 /checksum/SHA512/reset/73 554s ok 1742 /checksum/SHA512/reset/74 554s ok 1743 /checksum/SHA512/reset/75 554s ok 1744 /checksum/SHA512/reset/76 554s ok 1745 /checksum/SHA512/reset/77 554s ok 1746 /checksum/SHA512/reset/78 554s ok 1747 /checksum/SHA512/reset/79 554s ok 1748 /checksum/SHA512/reset/80 554s ok 1749 /checksum/SHA512/reset/81 554s ok 1750 /checksum/SHA512/reset/82 554s ok 1751 /checksum/SHA512/reset/83 554s ok 1752 /checksum/SHA512/reset/84 554s ok 1753 /checksum/SHA512/reset/85 554s ok 1754 /checksum/SHA512/reset/86 554s ok 1755 /checksum/SHA512/reset/87 554s ok 1756 /checksum/SHA512/reset/88 554s ok 1757 /checksum/SHA512/reset/89 554s ok 1758 /checksum/SHA512/reset/90 554s ok 1759 /checksum/SHA512/reset/91 554s ok 1760 /checksum/SHA512/reset/92 554s ok 1761 /checksum/SHA512/reset/93 554s ok 1762 /checksum/SHA512/reset/94 554s ok 1763 /checksum/SHA512/reset/95 554s ok 1764 /checksum/SHA512/reset/96 554s ok 1765 /checksum/SHA512/reset/97 554s ok 1766 /checksum/SHA512/reset/98 554s ok 1767 /checksum/SHA512/reset/99 554s ok 1768 /checksum/SHA512/reset/100 554s ok 1769 /checksum/SHA512/reset/101 554s ok 1770 /checksum/SHA512/reset/102 554s ok 1771 /checksum/SHA512/reset/103 554s ok 1772 /checksum/SHA512/reset/104 554s ok 1773 /checksum/SHA512/reset/105 554s ok 1774 /checksum/SHA512/reset/106 554s ok 1775 /checksum/SHA512/reset/107 554s ok 1776 /checksum/SHA512/reset/108 554s ok 1777 /checksum/SHA512/reset/109 554s ok 1778 /checksum/SHA512/reset/110 554s ok 1779 /checksum/SHA512/reset/111 554s ok 1780 /checksum/SHA512/reset/112 554s ok 1781 /checksum/SHA512/reset/113 554s ok 1782 /checksum/SHA512/reset/114 554s ok 1783 /checksum/SHA512/reset/115 554s ok 1784 /checksum/SHA512/reset/116 554s ok 1785 /checksum/SHA512/reset/117 554s ok 1786 /checksum/SHA512/reset/118 554s ok 1787 /checksum/SHA512/reset/119 554s ok 1788 /checksum/SHA512/reset/120 554s ok 1789 /checksum/SHA512/reset/121 554s ok 1790 /checksum/SHA512/reset/122 554s ok 1791 /checksum/SHA512/reset/123 554s ok 1792 /checksum/SHA512/reset/124 554s ok 1793 /checksum/SHA512/reset/125 554s ok 1794 /checksum/SHA512/reset/126 554s ok 1795 /checksum/SHA512/reset/127 554s ok 1796 /checksum/SHA512/reset/128 554s ok 1797 /checksum/SHA512/reset/129 554s ok 1798 /checksum/SHA512/reset/130 554s ok 1799 /checksum/SHA512/reset/131 554s ok 1800 /checksum/SHA512/reset/132 554s ok 1801 /checksum/SHA512/reset/133 554s ok 1802 /checksum/SHA512/reset/134 554s ok 1803 /checksum/SHA512/reset/135 554s ok 1804 /checksum/SHA512/reset/136 554s ok 1805 /checksum/SHA512/reset/137 554s ok 1806 /checksum/SHA512/reset/138 554s ok 1807 /checksum/SHA512/reset/139 554s ok 1808 /checksum/SHA512/reset/140 554s ok 1809 /checksum/SHA512/reset/141 554s ok 1810 /checksum/SHA512/reset/142 554s ok 1811 /checksum/SHA512/reset/143 554s ok 1812 /checksum/SHA512/reset/144 554s ok 1813 /checksum/SHA512/reset/145 554s ok 1814 /checksum/SHA512/reset/146 554s ok 1815 /checksum/SHA512/reset/147 554s ok 1816 /checksum/SHA512/reset/148 554s ok 1817 /checksum/SHA512/reset/149 554s ok 1818 /checksum/SHA512/reset/150 554s ok 1819 /checksum/SHA512/reset/151 554s ok 1820 /checksum/SHA512/reset/152 554s ok 1821 /checksum/SHA512/reset/153 554s ok 1822 /checksum/SHA512/reset/154 554s ok 1823 /checksum/SHA512/reset/155 554s ok 1824 /checksum/SHA512/reset/156 554s ok 1825 /checksum/SHA512/reset/157 554s ok 1826 /checksum/SHA512/reset/158 554s ok 1827 /checksum/SHA512/reset/159 554s ok 1828 /checksum/SHA512/reset/160 554s ok 1829 /checksum/SHA512/reset/161 554s ok 1830 /checksum/SHA512/reset/162 554s ok 1831 /checksum/SHA512/reset/163 554s ok 1832 /checksum/SHA512/reset/164 554s ok 1833 /checksum/SHA512/reset/165 554s ok 1834 /checksum/SHA512/reset/166 554s ok 1835 /checksum/SHA512/reset/167 554s ok 1836 /checksum/SHA512/reset/168 554s ok 1837 /checksum/SHA512/reset/169 554s ok 1838 /checksum/SHA512/reset/170 554s ok 1839 /checksum/SHA512/reset/171 554s ok 1840 /checksum/SHA512/reset/172 554s ok 1841 /checksum/SHA512/reset/173 554s ok 1842 /checksum/SHA512/reset/174 554s ok 1843 /checksum/SHA512/reset/175 554s ok 1844 /checksum/SHA512/reset/176 554s ok 1845 /checksum/SHA512/reset/177 554s ok 1846 /checksum/SHA512/reset/178 554s ok 1847 /checksum/SHA512/reset/179 554s ok 1848 /checksum/SHA512/reset/180 554s ok 1849 /checksum/SHA512/reset/181 554s ok 1850 /checksum/SHA512/reset/182 554s ok 1851 /checksum/SHA512/reset/183 554s # End of reset tests 554s # End of SHA512 tests 554s # End of checksum tests 554s ok - glib/checksum.test 554s # Running test: glib/testing.test 554s TAP version 14 554s # random seed: R02Sc03dd1eb98baeb0cca628182fe3ca696 554s 1..1 554s # Start of assert tests 554s ok - glib/testing.test 554s ok 1 /assert/finalize_object 554s # Start of finalize_object tests 554s # Start of subprocess tests 554s # End of subprocess tests 554s # End of finalize_object tests 554s # End of assert tests 554s # Running test: glib/callable-info.test 554s TAP version 14 554s # random seed: R02Sed13fd22a4b2d3f5d5cb146028e4be63 554s 1..5 554s # Start of callable-info tests 554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/home 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/cache 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/system-config2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/config 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/system-data2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/data 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/state 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_B3US52/callable-info/sync-function/.dirs/runtime 554s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 554s ok 1 /callable-info/sync-function 554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/home 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/cache 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/system-config2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/config 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/system-data2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/data 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/state 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_B3US52/callable-info/async-function/.dirs/runtime 554s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 554s ok 2 /callable-info/async-function 554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/home 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/cache 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/system-config2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/config 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/system-data2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/data 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/state 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_B3US52/callable-info/is-method/.dirs/runtime 554s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 554s ok 3 /callable-info/is-method 554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/home 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/cache 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/system-config2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/config 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/system-data2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/data 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/state 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_B3US52/callable-info/static-method/.dirs/runtime 554s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 554s ok 4 /callable-info/static-method 554s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/home 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/cache 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/system-config2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/config 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/system-data2 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/data 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/state 554s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_B3US52/callable-info/static-vfunc/.dirs/runtime 554s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 554s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 554s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 554s # End of callable-info tests 554s ok - glib/callable-info.test 554s # Running test: glib/notify-init.test 554s TAP version 14 554s # random seed: R02S8c7875a344829cda3b91046b46cdd98f 554s 1..1 554s # Start of properties tests 554s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 554s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 554s ok 1 /properties/notify-in-init 554s # End of properties tests 554s ok - glib/notify-init.test 554s # Running test: glib/gsocketclient-slow.test 554s TAP version 14 554s # random seed: R02Sf664beb6def3d1f2bf1fd239b421e219 554s 1..4 554s # Start of socket-client tests 554s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 554s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 554s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5f56269bbb10 and GSocketClientAsyncConnectData 0x5f56269b60d0 554s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 554s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 554s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5f56269bf5e0 for GSocketClientAsyncConnectData 0x5f56269b60d0 554s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 555s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 555s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 555s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 555s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 555s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 555s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5f56269bf5e0 for GSocketClientAsyncConnectData 0x5f56269b60d0 555s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 555s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 555s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 555s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 555s ok 1 /socket-client/connection-fail 555s # slow test /socket-client/connection-fail executed in 1.20 secs 555s # Start of happy-eyeballs tests 555s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5f56269be300 and GSocketClientAsyncConnectData 0x5f56269bef50 555s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 555s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 555s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5f56269c2560 for GSocketClientAsyncConnectData 0x5f56269bef50 555s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 556s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 556s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 556s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 556s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 556s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 556s ok 2 /socket-client/happy-eyeballs/slow 556s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 556s # Start of cancellation tests 556s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5f56269bec30 and GSocketClientAsyncConnectData 0x5f56269c29e0 556s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 556s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 556s ok 3 /socket-client/happy-eyeballs/cancellation/instant 556s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5f56269be150 and GSocketClientAsyncConnectData 0x5f56269c26f0 556s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 556s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 556s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5f56269c23a0 for GSocketClientAsyncConnectData 0x5f56269c26f0 556s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 556s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 556s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 556s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 556s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 556s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 556s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 556s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 556s # End of cancellation tests 556s # End of happy-eyeballs tests 556s # End of socket-client tests 556s ok - glib/gsocketclient-slow.test 556s # Running test: glib/deftype.test 556s ok - glib/deftype.test 556s # Running test: glib/rand.test 556s TAP version 14 556s # random seed: R02S8c6328d826b61b8ee9d1e65d9370b29c 556s 1..2 556s # Start of rand tests 556s ok 1 /rand/test-rand 556s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 556s ok 2 /rand/double-range 556s # End of rand tests 556s ok - glib/rand.test 556s # Running test: glib/memory-monitor-portal.test 557s TAP version 13 557s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 557s 1..1 557s ok - glib/memory-monitor-portal.test 557s # Running test: glib/portal-support-snap.test 557s TAP version 14 557s # random seed: R02S56335c618f598cc6586f93a18182ec46 557s 1..7 557s # Start of portal-support tests 557s # Start of snap tests 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl/.dirs/runtime 557s # Created snap.yaml in /tmp/test_portal-support-snap_EVXT52/meta/snap.yaml 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52/portal-support/snap/no-snapctl: No such file or directory 557s ok 1 /portal-support/snap/no-snapctl 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/runtime 557s # Created snap.yaml in /tmp/test_portal-support-snap_EVXT52/meta/snap.yaml 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none/.dirs/runtime/snapctl 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52/portal-support/snap/none: No such file or directory 557s ok 2 /portal-support/snap/none 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/runtime 557s # Created snap.yaml in /tmp/test_portal-support-snap_EVXT52/meta/snap.yaml 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all/.dirs/runtime/snapctl 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52/portal-support/snap/all: No such file or directory 557s ok 3 /portal-support/snap/all 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/runtime 557s # Created snap.yaml in /tmp/test_portal-support-snap_EVXT52/meta/snap.yaml 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only/.dirs/runtime/snapctl 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52/portal-support/snap/desktop-only: No such file or directory 557s ok 4 /portal-support/snap/desktop-only 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/runtime 557s # Created snap.yaml in /tmp/test_portal-support-snap_EVXT52/meta/snap.yaml 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only/.dirs/runtime/snapctl 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52/portal-support/snap/network-only: No such file or directory 557s ok 5 /portal-support/snap/network-only 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/runtime 557s # Created snap.yaml in /tmp/test_portal-support-snap_EVXT52/meta/snap.yaml 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52/portal-support/snap/gsettings-only: No such file or directory 557s ok 6 /portal-support/snap/gsettings-only 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime 557s # Created snap.yaml in /tmp/test_portal-support-snap_EVXT52/meta/snap.yaml 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 557s # Created snapctl in /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52/portal-support/snap/updates-dynamically: No such file or directory 557s ok 7 /portal-support/snap/updates-dynamically 557s # End of snap tests 557s # End of portal-support tests 557s Unable to clean up temporary directory /tmp/test_portal-support-snap_EVXT52: No such file or directory 557s ok - glib/portal-support-snap.test 557s # Running test: glib/cxx-2b.test 557s TAP version 14 557s # random seed: R02S4fa3895beca03939113526a2458028b2 557s 1..2 557s # Start of gtask tests 557s # 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. 557s ok 1 /gtask/name 557s # Start of name tests 557s # 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. 557s ok 2 /gtask/name/macro-wrapper 557s # End of name tests 557s # End of gtask tests 557s ok - glib/cxx-2b.test 557s # Running test: glib/timer.test 557s TAP version 14 557s # random seed: R02Scff74599b95156c8b940b5490e1ff220 557s 1..10 557s # Start of timer tests 557s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 557s ok - glib/timer.test 557s # Running test: glib/unicode-normalize.test 557s ok 2 /timer/stop 557s ok 3 /timer/continue 557s ok 4 /timer/reset 557s ok 5 /timer/is_active 557s # End of timer tests 557s # Start of timeval tests 557s ok 6 /timeval/add 557s ok 7 /timeval/from-iso8601 557s ok 8 /timeval/to-iso8601 557s # Start of to-iso8601 tests 557s ok 9 /timeval/to-iso8601/overflow 557s # End of to-iso8601 tests 557s # End of timeval tests 557s # Start of usleep tests 557s ok 10 /usleep/with-zero-wait 557s # End of usleep tests 557s TAP version 14 557s # random seed: R02S7f1ffc7ce84c77ace74d0d4d114d3474 557s 1..3 557s # Start of unicode tests 557s # Processing Part0 # Specific cases 557s # Processing Part1 # Character by character test 557s # Processing Part2 # Canonical Order Test 557s # Processing Part3 # PRI #29 Test 557s # Processing Part4 # Canonical closures (excluding Hangul) 557s ok - glib/unicode-normalize.test 557s # Processing Part5 # Chained primary composites 557s ok 1 /unicode/normalize 557s # Invalid UTF-8 vector 0 557s # Invalid UTF-8 vector 1 557s # Invalid UTF-8 vector 2 557s # Invalid UTF-8 vector 3 557s # Invalid UTF-8 vector 4 557s # Invalid UTF-8 vector 5 557s # Invalid UTF-8 vector 6 557s # Invalid UTF-8 vector 7 557s # Invalid UTF-8 vector 8 557s # Invalid UTF-8 vector 9 557s # Invalid UTF-8 vector 10 557s # Invalid UTF-8 vector 11 557s # Invalid UTF-8 vector 12 557s ok 2 /unicode/normalize-invalid 557s # Start of normalize tests 557s ok 3 /unicode/normalize/bad-length 557s # End of normalize tests 557s # End of unicode tests 557s # Running test: glib/repository.test 557s TAP version 14 557s # random seed: R02S4bd799fa14e5623a2fdd2f776992dd9b 557s 1..23 557s # Start of repository tests 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/basic/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/basic/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/basic/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/basic/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/basic/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/basic/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/basic/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/basic/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/basic/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/basic/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 557s ok 1 /repository/basic 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/info/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/info/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/info/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/info/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/info/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/info/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/info/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/info/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/info/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/info/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/info summary: Test retrieving some basic info blobs from a typelib 557s ok 2 /repository/info 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/dependencies/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/dependencies/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/dependencies/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 557s ok 3 /repository/dependencies 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/arg-info/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/arg-info/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/arg-info/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 557s ok 4 /repository/arg-info 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/callable-info/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/callable-info/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/callable-info/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 557s ok 5 /repository/callable-info 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/callback-info/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/callback-info/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/callback-info/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 557s ok 6 /repository/callback-info 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/char-types/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/char-types/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/char-types/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/char-types/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/char-types/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/char-types/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/char-types/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/char-types/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/char-types/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/char-types/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 557s ok 7 /repository/char-types 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/constructor-return-type/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 557s ok 8 /repository/constructor-return-type 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/enum-info-c-identifier/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 557s ok 9 /repository/enum-info-c-identifier 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/enum-info-static-methods/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/enum-info-static-methods summary: Test an enum with methods 557s ok 10 /repository/enum-info-static-methods 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/error-quark/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/error-quark/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/error-quark/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/error-quark summary: Test finding an error quark by error domain 557s ok 11 /repository/error-quark 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/flags-info-c-identifier/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 557s ok 12 /repository/flags-info-c-identifier 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/fundamental-ref-func/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 557s ok 13 /repository/fundamental-ref-func 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/instance-method-ownership-transfer/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 557s ok 14 /repository/instance-method-ownership-transfer 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/object-gtype-interfaces/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 557s ok 15 /repository/object-gtype-interfaces 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/signal-info-with-array-length-arg/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 557s ok 16 /repository/signal-info-with-array-length-arg 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/type-info-name/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/type-info-name/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/type-info-name/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 557s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 557s ok 17 /repository/type-info-name 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/vfunc-info-with-no-invoker/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 557s ok 18 /repository/vfunc-info-with-no-invoker 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 557s ok 19 /repository/vfunc-info-with-invoker-on-interface 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 557s ok 20 /repository/vfunc-info-with-invoker-on-object 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/find-by-gtype/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/find-by-gtype summary: Test finding a GType 557s ok 21 /repository/find-by-gtype 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/loaded-namespaces/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/loaded-namespaces summary: Test listing loaded namespaces 557s ok 22 /repository/loaded-namespaces 557s # Start of base-info tests 557s ok - glib/repository.test 557s # Running test: glib/data-output-stream.test 557s ok - glib/data-output-stream.test 557s # Running test: glib/network-monitor.test 557s ok - glib/network-monitor.test 557s # Running test: glib/properties-refcount2.test 557s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/home 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/cache 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/system-config2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/config 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/system-data2 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/data 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/state 557s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_I6OC62/repository/base-info/clear/.dirs/runtime 557s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 557s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 557s ok 23 /repository/base-info/clear 557s # End of base-info tests 557s # End of repository tests 557s TAP version 14 557s # random seed: R02S3364ae5aecc06295ed45de2af788cfbe 557s 1..7 557s # Start of data-output-stream tests 557s ok 1 /data-output-stream/basic 557s ok 2 /data-output-stream/write-lines-LF 557s ok 3 /data-output-stream/write-lines-CR 557s ok 4 /data-output-stream/write-lines-CR-LF 557s ok 5 /data-output-stream/write-int 557s ok 6 /data-output-stream/seek 557s ok 7 /data-output-stream/truncate 557s # End of data-output-stream tests 557s TAP version 14 557s # random seed: R02S4ea150eaca57923637cc1379c0db5857 557s 1..4 557s # Start of network-monitor tests 557s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 557s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 557s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 557s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 557s ok 1 /network-monitor/default 557s ok 2 /network-monitor/remove_default 557s ok 3 /network-monitor/add_networks 557s ok 4 /network-monitor/remove_networks 557s # End of network-monitor tests 557s TAP version 14 557s # random seed: R02Sac9fd1e616f25424234d03f9290759b0 557s 1..1 557s # Start of gobject tests 557s # Start of refcount tests 557s # init 0x5aa244fd1e30 557s # 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 557s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # . 558s # dispose 0x5aa244fd1e30! 558s # 558s ok 1 /gobject/refcount/properties-2 558s # slow test /gobject/refcount/properties-2 executed in 0.63 secs 558s # End of refcount tests 558s # End of gobject tests 558s ok - glib/properties-refcount2.test 558s # Running test: glib/utf8-misc.test 558s TAP version 14 558s # random seed: R02S07e1a09c97993079e3c6ecabbc30dd42 558s 1..7 558s # Start of utf8 tests 558s ok 1 /utf8/strlen 558s ok 2 /utf8/strncpy 558s ok 3 /utf8/strrchr 558s ok 4 /utf8/reverse 558s ok 5 /utf8/substring 558s ok 6 /utf8/make-valid 558s ok 7 /utf8/truncate-middle 558s # End of utf8 tests 558s ok - glib/utf8-misc.test 558s # Running test: glib/unix.test 558s TAP version 14 558s # random seed: R02S1e34e3eaa214edc5a39092aa372a7803 558s 1..20 558s # Start of glib-unix tests 558s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 558s ok 1 /glib-unix/closefrom 558s ok 2 /glib-unix/pipe 558s # /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 558s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 558s ok 3 /glib-unix/pipe-stdio-overwrite 558s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 558s ok 4 /glib-unix/pipe-struct 558s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 558s ok 5 /glib-unix/pipe-struct-auto 558s ok 6 /glib-unix/error 558s ok 7 /glib-unix/nonblocking 558s ok 8 /glib-unix/sighup 558s # slow test /glib-unix/sighup executed in 0.50 secs 558s # Executing: glib/unix.test 559s ok 9 /glib-unix/sigterm 559s # slow test /glib-unix/sigterm executed in 0.50 secs 559s ok 10 /glib-unix/sighup_again 559s # slow test /glib-unix/sighup_again executed in 0.50 secs 559s ok 11 /glib-unix/sighup_add_remove 559s ok 12 /glib-unix/sighup_nested 561s ok 13 /glib-unix/callback_after_signal 561s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 561s ok 14 /glib-unix/child-wait 561s # Start of closefrom tests 561s # Start of subprocess tests 561s # End of subprocess tests 561s # End of closefrom tests 561s # Start of pipe tests 561s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 561s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 561s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 561s ok 15 /glib-unix/pipe/fd-cloexec 561s # End of pipe tests 561s # Start of sighup tests 562s ok 16 /glib-unix/sighup/alternate-stack 562s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 562s # End of sighup tests 562s # Start of sigterm tests 563s ok 17 /glib-unix/sigterm/alternate-stack 563s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 563s # End of sigterm tests 563s # Start of sighup_again tests 563s # Executing: glib/unix.test 564s ok 18 /glib-unix/sighup_again/alternate-stack 564s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 564s # End of sighup_again tests 564s # Start of get-passwd-entry tests 564s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 564s ok 19 /glib-unix/get-passwd-entry/root 564s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 564s ok 20 /glib-unix/get-passwd-entry/nonexistent 564s # End of get-passwd-entry tests 564s # End of glib-unix tests 564s ok - glib/unix.test 564s # Running test: glib/g-file.test 564s TAP version 14 564s # random seed: R02Sde0f4e3cf7e7a1cbac7461088e55d159 564s 1..8 564s # Start of g-file tests 564s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 564s ok 1 /g-file/test_g_file_new_null 564s ok 2 /g-file/test_g_file_new_for_path 564s ok 3 /g-file/test_g_file_new_for_uri 564s ok 4 /g-file/test_g_file_dup 564s ok 5 /g-file/test_g_file_get_parse_name_utf8 564s file:///tmp/test-tmp-glib_g-file.test-QE4452 564s file:///tmp 564s file:///tmp 564s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 564s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 564s ok 6 /g-file/test_g_file_new_for_commandline_arg 564s /dir1 /dir1/dir2/dir3/ 564s /dir1/ /dir1/dir2/dir3/ 564s /dir1 /dir1/dir2/dir3 564s /dir1/ /dir1/dir2/dir3 564s /tmp/ /something/ 564s /dir1/dir2 /dir1/ 564s //dir1/new //dir1/new/dir2/dir3 564s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 564s file:///dir1 file:///dir1/dir2/dir3/ 564s file:///dir1/ file:///dir1/dir2/dir3/ 564s file:///dir1 file:///dir1/dir2/dir3 564s file:///dir1/ file:///dir1/dir2/dir3 564s file:///tmp/ file:///something/ 564s file:///dir1/dir2 file:///dir1/ 564s file:////dir1/new file:////dir1/new/dir2/dir3 564s 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 564s ok 7 /g-file/test_g_file_has_prefix 564s ok 8 /g-file/test_g_file_get_parent_child 564s # End of g-file tests 564s ok - glib/g-file.test 564s # Running test: glib/stream-rw_all.test 564s ok - glib/stream-rw_all.test 564s # Running test: glib/bookmarkfile.test 564s TAP version 14 564s # random seed: R02S028a7699613c454d0f75296226a9e3da 564s 1..3 564s # Start of stream tests 564s # Start of read_all_async tests 564s ok 1 /stream/read_all_async/memory 564s # End of read_all_async tests 564s # Start of write_all_async tests 564s ok 2 /stream/write_all_async/memory 564s # End of write_all_async tests 564s # Start of read_write_all_async tests 564s ok 3 /stream/read_write_all_async/pipe 564s # End of read_write_all_async tests 564s # End of stream tests 564s TAP version 14 564s # random seed: R02S0a0b611c5fce328f83491bd75d562d86 564s 1..96 564s # Start of bookmarks tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/load-from-data-dirs/.dirs/runtime 564s ok 1 /bookmarks/load-from-data-dirs 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/to-file/.dirs/runtime 564s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_4FS452/bookmarkfile-test-PYR452.xbel 564s # Roundtrip from a valid bookmark file 564s ok 2 /bookmarks/to-file 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/move-item/.dirs/runtime 564s ok 3 /bookmarks/move-item 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/corner-cases/.dirs/runtime 564s ok 4 /bookmarks/corner-cases 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/misc/.dirs/runtime 564s ok 5 /bookmarks/misc 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/deprecated/.dirs/runtime 564s ok 6 /bookmarks/deprecated 564s # Start of parse tests 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-01.xbel/.dirs/runtime 564s ok 7 /bookmarks/parse/valid-01.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-28.xbel/.dirs/runtime 564s ok 8 /bookmarks/parse/fail-28.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-23.xbel/.dirs/runtime 564s ok 9 /bookmarks/parse/fail-23.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-03.xbel/.dirs/runtime 564s ok 10 /bookmarks/parse/valid-03.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/valid-02.xbel/.dirs/runtime 564s ok 11 /bookmarks/parse/valid-02.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-20.xbel/.dirs/runtime 564s ok 12 /bookmarks/parse/fail-20.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-12.xbel/.dirs/runtime 564s ok 13 /bookmarks/parse/fail-12.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-18.xbel/.dirs/runtime 564s ok 14 /bookmarks/parse/fail-18.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/home 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/cache 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/system-config2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/config 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/system-data2 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/data 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/state 564s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-10.xbel/.dirs/runtime 564s ok 15 /bookmarks/parse/fail-10.xbel 564s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-26.xbel/.dirs/runtime 565s ok 16 /bookmarks/parse/fail-26.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-41.xbel/.dirs/runtime 565s ok 17 /bookmarks/parse/fail-41.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-09.xbel/.dirs/runtime 565s ok 18 /bookmarks/parse/fail-09.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-05.xbel/.dirs/runtime 565s ok 19 /bookmarks/parse/fail-05.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-33.xbel/.dirs/runtime 565s ok 20 /bookmarks/parse/fail-33.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-16.xbel/.dirs/runtime 565s ok 21 /bookmarks/parse/fail-16.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-03.xbel/.dirs/runtime 565s ok 22 /bookmarks/parse/fail-03.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-35.xbel/.dirs/runtime 565s ok 23 /bookmarks/parse/fail-35.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-11.xbel/.dirs/runtime 565s ok 24 /bookmarks/parse/fail-11.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-07.xbel/.dirs/runtime 565s ok 25 /bookmarks/parse/fail-07.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-25.xbel/.dirs/runtime 565s ok 26 /bookmarks/parse/fail-25.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-06.xbel/.dirs/runtime 565s ok 27 /bookmarks/parse/fail-06.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-22.xbel/.dirs/runtime 565s ok 28 /bookmarks/parse/fail-22.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-37.xbel/.dirs/runtime 565s ok 29 /bookmarks/parse/fail-37.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-15.xbel/.dirs/runtime 565s ok 30 /bookmarks/parse/fail-15.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-29.xbel/.dirs/runtime 565s ok 31 /bookmarks/parse/fail-29.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-08.xbel/.dirs/runtime 565s ok 32 /bookmarks/parse/fail-08.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-36.xbel/.dirs/runtime 565s ok 33 /bookmarks/parse/fail-36.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-13.xbel/.dirs/runtime 565s ok 34 /bookmarks/parse/fail-13.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-17.xbel/.dirs/runtime 565s ok 35 /bookmarks/parse/fail-17.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-14.xbel/.dirs/runtime 565s ok 36 /bookmarks/parse/fail-14.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-04.xbel/.dirs/runtime 565s ok 37 /bookmarks/parse/fail-04.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-02.xbel/.dirs/runtime 565s ok 38 /bookmarks/parse/fail-02.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-39.xbel/.dirs/runtime 565s ok 39 /bookmarks/parse/fail-39.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-24.xbel/.dirs/runtime 565s ok 40 /bookmarks/parse/fail-24.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-30.xbel/.dirs/runtime 565s ok 41 /bookmarks/parse/fail-30.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-32.xbel/.dirs/runtime 565s ok 42 /bookmarks/parse/fail-32.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-21.xbel/.dirs/runtime 565s ok 43 /bookmarks/parse/fail-21.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-40.xbel/.dirs/runtime 565s ok 44 /bookmarks/parse/fail-40.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-19.xbel/.dirs/runtime 565s ok 45 /bookmarks/parse/fail-19.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-27.xbel/.dirs/runtime 565s ok 46 /bookmarks/parse/fail-27.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-34.xbel/.dirs/runtime 565s ok 47 /bookmarks/parse/fail-34.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-01.xbel/.dirs/runtime 565s ok 48 /bookmarks/parse/fail-01.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-38.xbel/.dirs/runtime 565s ok 49 /bookmarks/parse/fail-38.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-31.xbel/.dirs/runtime 565s ok 50 /bookmarks/parse/fail-31.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/parse/fail-42.xbel/.dirs/runtime 565s ok 51 /bookmarks/parse/fail-42.xbel 565s # End of parse tests 565s # Start of copy tests 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-01.xbel/.dirs/runtime 565s ok 52 /bookmarks/copy/valid-01.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-28.xbel/.dirs/runtime 565s ok 53 /bookmarks/copy/fail-28.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-23.xbel/.dirs/runtime 565s ok 54 /bookmarks/copy/fail-23.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-03.xbel/.dirs/runtime 565s ok 55 /bookmarks/copy/valid-03.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/valid-02.xbel/.dirs/runtime 565s ok 56 /bookmarks/copy/valid-02.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-20.xbel/.dirs/runtime 565s ok 57 /bookmarks/copy/fail-20.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-12.xbel/.dirs/runtime 565s ok 58 /bookmarks/copy/fail-12.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-18.xbel/.dirs/runtime 565s ok 59 /bookmarks/copy/fail-18.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-10.xbel/.dirs/runtime 565s ok 60 /bookmarks/copy/fail-10.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-26.xbel/.dirs/runtime 565s ok 61 /bookmarks/copy/fail-26.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-41.xbel/.dirs/runtime 565s ok 62 /bookmarks/copy/fail-41.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-09.xbel/.dirs/runtime 565s ok 63 /bookmarks/copy/fail-09.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-05.xbel/.dirs/runtime 565s ok 64 /bookmarks/copy/fail-05.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-33.xbel/.dirs/runtime 565s ok 65 /bookmarks/copy/fail-33.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-16.xbel/.dirs/runtime 565s ok 66 /bookmarks/copy/fail-16.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-03.xbel/.dirs/runtime 565s ok 67 /bookmarks/copy/fail-03.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-35.xbel/.dirs/runtime 565s ok 68 /bookmarks/copy/fail-35.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-11.xbel/.dirs/runtime 565s ok 69 /bookmarks/copy/fail-11.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-07.xbel/.dirs/runtime 565s ok 70 /bookmarks/copy/fail-07.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-25.xbel/.dirs/runtime 565s ok 71 /bookmarks/copy/fail-25.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-06.xbel/.dirs/runtime 565s ok 72 /bookmarks/copy/fail-06.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-22.xbel/.dirs/runtime 565s ok 73 /bookmarks/copy/fail-22.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-37.xbel/.dirs/runtime 565s ok 74 /bookmarks/copy/fail-37.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-15.xbel/.dirs/runtime 565s ok 75 /bookmarks/copy/fail-15.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-29.xbel/.dirs/runtime 565s ok 76 /bookmarks/copy/fail-29.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-08.xbel/.dirs/runtime 565s ok 77 /bookmarks/copy/fail-08.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-36.xbel/.dirs/runtime 565s ok 78 /bookmarks/copy/fail-36.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-13.xbel/.dirs/runtime 565s ok 79 /bookmarks/copy/fail-13.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-17.xbel/.dirs/runtime 565s ok 80 /bookmarks/copy/fail-17.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-14.xbel/.dirs/runtime 565s ok 81 /bookmarks/copy/fail-14.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-04.xbel/.dirs/runtime 565s ok 82 /bookmarks/copy/fail-04.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-02.xbel/.dirs/runtime 565s ok 83 /bookmarks/copy/fail-02.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-39.xbel/.dirs/runtime 565s ok 84 /bookmarks/copy/fail-39.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-24.xbel/.dirs/runtime 565s ok 85 /bookmarks/copy/fail-24.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-30.xbel/.dirs/runtime 565s ok 86 /bookmarks/copy/fail-30.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-32.xbel/.dirs/runtime 565s ok 87 /bookmarks/copy/fail-32.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-21.xbel/.dirs/runtime 565s ok 88 /bookmarks/copy/fail-21.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-40.xbel/.dirs/runtime 565s ok 89 /bookmarks/copy/fail-40.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-19.xbel/.dirs/runtime 565s ok 90 /bookmarks/copy/fail-19.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-27.xbel/.dirs/runtime 565s ok 91 /bookmarks/copy/fail-27.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-34.xbel/.dirs/runtime 565s ok 92 /bookmarks/copy/fail-34.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/system-config2 565s ok - glib/bookmarkfile.test 565s # Running test: glib/unix-streams.test 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-01.xbel/.dirs/runtime 565s ok 93 /bookmarks/copy/fail-01.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-38.xbel/.dirs/runtime 565s ok 94 /bookmarks/copy/fail-38.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-31.xbel/.dirs/runtime 565s ok 95 /bookmarks/copy/fail-31.xbel 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_4FS452/bookmarks/copy/fail-42.xbel/.dirs/runtime 565s ok 96 /bookmarks/copy/fail-42.xbel 565s # End of copy tests 565s # End of bookmarks tests 565s TAP version 14 565s # random seed: R02S32ccf14bbbe0acd6aef395e76d47c458 565s 1..9 565s # Start of unix-streams tests 565s ok 1 /unix-streams/basic 565s ok 2 /unix-streams/pipe-io-test 565s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 565s ok 3 /unix-streams/nonblocking-io-test 565s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 565s ok 4 /unix-streams/read_write 565s ok 5 /unix-streams/read_writev 565s ok 6 /unix-streams/write-wouldblock 565s ok 7 /unix-streams/writev-wouldblock 565s ok 8 /unix-streams/write-async-wouldblock 565s ok 9 /unix-streams/writev-async-wouldblock 565s # End of unix-streams tests 565s ok - glib/unix-streams.test 565s # Running test: glib/g-file-info-filesystem-readonly.test 565s TAP version 14 565s # random seed: R02Scc6883ae67a95834672f34bac481b3e0 565s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 565s 1..2 565s # Start of g-file-info-filesystem-readonly tests 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 565s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 565s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 565s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_GER352/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 565s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 565s # End of g-file-info-filesystem-readonly tests 566s ok - glib/g-file-info-filesystem-readonly.test 566s # Running test: glib/mount-operation.test 566s ok - glib/mount-operation.test 566s # Running test: glib/cxx-17.test 566s ok - glib/cxx-17.test 566s # Running test: glib/inet-address.test 566s TAP version 14 566s # random seed: R02S2011ad68cb2df5deee092fc21be16f18 566s 1..2 566s # Start of mount-operation tests 566s ok 1 /mount-operation/construction 566s ok 2 /mount-operation/properties 566s # End of mount-operation tests 566s TAP version 14 566s # random seed: R02S61d957365c0963a29195eb2b850e4dff 566s 1..2 566s # Start of gtask tests 566s # 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. 566s ok 1 /gtask/name 566s # Start of name tests 566s # 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. 566s ok 2 /gtask/name/macro-wrapper 566s # End of name tests 566s # End of gtask tests 566s TAP version 14 566s # random seed: R02Scc585c08274bd1e52d40157d81114961 566s 1..11 566s # Start of inet-address tests 566s ok 1 /inet-address/parse 566s ok 2 /inet-address/any 566s ok 3 /inet-address/loopback 566s ok 4 /inet-address/bytes 566s ok 5 /inet-address/property 566s # End of inet-address tests 566s # Start of socket-address tests 566s ok 6 /socket-address/basic 566s ok 7 /socket-address/to-string 566s # End of socket-address tests 566s # Start of address-mask tests 566s ok 8 /address-mask/parse 566s ok 9 /address-mask/property 566s ok 10 /address-mask/equal 566s ok 11 /address-mask/match 566s # End of address-mask tests 566s TAP version 14 566s # random seed: R02S347a386daf2a83d09c200767e2859cd5 566s 1..31 566s # Start of gobject tests 566s # Start of signals tests 566s ok 1 /gobject/signals/all-types 566s ok 2 /gobject/signals/variant 566s ok 3 /gobject/signals/destroy-target-object 566s ok 4 /gobject/signals/generic-marshaller-1 566s ok 5 /gobject/signals/generic-marshaller-2 566s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 566s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 566s ok 8 /gobject/signals/generic-marshaller-int-return 566s ok 9 /gobject/signals/generic-marshaller-uint-return 566s ok 10 /gobject/signals/generic-marshaller-interface-return 566s ok 11 /gobject/signals/custom-marshaller 566s ok 12 /gobject/signals/connect 566s ok 13 /gobject/signals/emission-hook 566s ok 14 /gobject/signals/emitv 566s ok 15 /gobject/signals/accumulator 566s # Signal: accumulator-class-first 566s # Signal: accumulator-class-last 566s # Signal: accumulator-class-cleanup 566s # Signal: accumulator-class-first-last 566s # Signal: accumulator-class-first-last-cleanup 566s # Signal: accumulator-class-last-cleanup 566s ok 16 /gobject/signals/accumulator-class 566s ok 17 /gobject/signals/introspection 566s ok 18 /gobject/signals/block-handler 566s ok 19 /gobject/signals/stop-emission 566s ok 20 /gobject/signals/invocation-hint 566s ok 21 /gobject/signals/test-disconnection-wrong-object 566s ok 22 /gobject/signals/clear-signal-handler 566s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 566s ok 23 /gobject/signals/lookup 566s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 566s ok 24 /gobject/signals/parse-name 566s ok 25 /gobject/signals/is-valid-name 566s ok 26 /gobject/signals/weak-ref-disconnect 566s # Start of lookup tests 566s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 566s ok 27 /gobject/signals/lookup/invalid 566s # End of lookup tests 566s # Start of parse-name tests 566s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 566s # Parser input: 566s # Parser input: 7zip 566s # Parser input: invalid:signal 566s # Parser input: simple-detailed:: 566s # Parser input: simple-detailed: 566s # Parser input: : 566s # Parser input: :: 566s # Parser input: :valid-detail 566s # Parser input: ::valid-detail 566s ok 28 /gobject/signals/parse-name/invalid 566s # End of parse-name tests 566s # Start of invalid-name tests 566s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 566s ok 29 /gobject/signals/invalid-name/colon 566s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 566s ok 30 /gobject/signals/invalid-name/first-char 566s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 566s ok 31 /gobject/signals/invalid-name/empty 566s # End of invalid-name tests 566s # End of signals tests 566s # End of gobject tests 566s TAP version 14 566s # random seed: R02Sdc2140edb5630631b3046849ad1f75d6 566s 1..6 566s # Start of pollable tests 566s ok 1 /pollable/converter 566s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 566s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x563b6df8eae0 and GSocketClientAsyncConnectData 0x563b6df8ac00 566s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 566s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 566s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x563b6df939e0 for GSocketClientAsyncConnectData 0x563b6df8ac00 566s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 566s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 566s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 566s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 566s ok 2 /pollable/socket 566s # Start of unix tests 566s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 566s ok 3 /pollable/unix/pipe 566s # /pollable/unix/pty summary: Test that PTYs are considered pollable 566s ok 4 /pollable/unix/pty 566s # /pollable/unix/file summary: Test that regular files are not considered pollable 566s ok 5 /pollable/unix/file 566s # /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 566s ok 6 /pollable/unix/nulldev 566s # End of unix tests 566s # End of pollable tests 566s TAP version 14 566s # random seed: R02Sbff2c69c925cf75b3a3a146055a5b3b9 566s 1..1 566s # Start of types tests 566s ok 1 /types/basic_types 566s # End of types tests 566s TAP version 14 566s # random seed: R02S587f5d302c1b6e54b1098378c2ecde67 566s 1..2 566s # Start of gtask tests 566s ok - glib/inet-address.test 566s # Running test: glib/signals.test 566s ok - glib/signals.test 566s # Running test: glib/pollable.test 566s ok - glib/pollable.test 566s # Running test: glib/types.test 566s ok - glib/types.test 566s # Running test: glib/cxx-20.test 566s # 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. 566s ok 1 /gtask/name 566s # Start of name tests 566s # 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. 566s ok 2 /gtask/name/macro-wrapper 566s # End of name tests 566s # End of gtask tests 566s TAP version 14 566s # random seed: R02S98b609e62567a90c6a1791c3926c5e3d 566s 1..113 566s # Start of array tests 566s ok 1 /array/ref-count 566s ok 2 /array/steal 566s ok 3 /array/clear-func 566s ok 4 /array/binary-search 566s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 566s ok 5 /array/copy-sized 566s ok 6 /array/overflow-append-vals 566s ok 7 /array/overflow-set-size 566s # Start of new tests 566s ok 8 /array/new/zero-terminated 566s ok 9 /array/new/take 566s ok 10 /array/new/take-zero-terminated 566s # Start of take tests 566s ok 11 /array/new/take/empty 566s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 566s # End of take tests 566s # End of new tests 566s # Start of set-size tests 566s ok 13 /array/set-size/non-zero-terminated-no-clear 566s ok 14 /array/set-size/non-zero-terminated-clear 566s ok 15 /array/set-size/zero-terminated-no-clear 566s ok 16 /array/set-size/zero-terminated-clear 566s # Start of sized tests 566s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 566s ok 18 /array/set-size/sized/non-zero-terminated-clear 566s ok 19 /array/set-size/sized/zero-terminated-no-clear 566s ok 20 /array/set-size/sized/zero-terminated-clear 566s # End of sized tests 566s # End of set-size tests 566s # Start of append-val tests 566s ok 21 /array/append-val/non-zero-terminated-no-clear 566s ok 22 /array/append-val/non-zero-terminated-clear 566s ok 23 /array/append-val/zero-terminated-no-clear 566s ok 24 /array/append-val/zero-terminated-clear 566s # End of append-val tests 566s # Start of prepend-val tests 566s ok 25 /array/prepend-val/non-zero-terminated-no-clear 566s ok 26 /array/prepend-val/non-zero-terminated-clear 566s ok 27 /array/prepend-val/zero-terminated-no-clear 566s ok 28 /array/prepend-val/zero-terminated-clear 566s # End of prepend-val tests 566s # Start of prepend-vals tests 566s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 566s ok 30 /array/prepend-vals/non-zero-terminated-clear 566s ok 31 /array/prepend-vals/zero-terminated-no-clear 566s ok 32 /array/prepend-vals/zero-terminated-clear 566s # End of prepend-vals tests 566s # Start of insert-vals tests 566s ok 33 /array/insert-vals/non-zero-terminated-no-clear 566s ok 34 /array/insert-vals/non-zero-terminated-clear 566s ok 35 /array/insert-vals/zero-terminated-no-clear 566s ok 36 /array/insert-vals/zero-terminated-clear 566s # End of insert-vals tests 566s # Start of remove-index tests 566s ok 37 /array/remove-index/non-zero-terminated-no-clear 566s ok 38 /array/remove-index/non-zero-terminated-clear 566s ok 39 /array/remove-index/zero-terminated-no-clear 566s ok 40 /array/remove-index/zero-terminated-clear 566s # End of remove-index tests 566s # Start of remove-index-fast tests 566s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 566s ok 42 /array/remove-index-fast/non-zero-terminated-clear 566s ok 43 /array/remove-index-fast/zero-terminated-no-clear 566s ok 44 /array/remove-index-fast/zero-terminated-clear 566s # End of remove-index-fast tests 566s # Start of remove-range tests 566s ok 45 /array/remove-range/non-zero-terminated-no-clear 566s ok 46 /array/remove-range/non-zero-terminated-clear 566s ok 47 /array/remove-range/zero-terminated-no-clear 566s ok 48 /array/remove-range/zero-terminated-clear 566s # End of remove-range tests 566s # Start of copy tests 566s ok 49 /array/copy/non-zero-terminated-no-clear 566s ok 50 /array/copy/non-zero-terminated-clear 566s ok 51 /array/copy/zero-terminated-no-clear 566s ok 52 /array/copy/zero-terminated-clear 566s # End of copy tests 566s # Start of sort tests 566s ok 53 /array/sort/non-zero-terminated-no-clear 566s ok 54 /array/sort/non-zero-terminated-clear 566s ok 55 /array/sort/zero-terminated-no-clear 566s ok 56 /array/sort/zero-terminated-clear 566s # End of sort tests 566s # Start of sort-with-data tests 566s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 566s ok 58 /array/sort-with-data/non-zero-terminated-clear 566s ok 59 /array/sort-with-data/zero-terminated-no-clear 566s ok 60 /array/sort-with-data/zero-terminated-clear 566s # End of sort-with-data tests 566s # End of array tests 566s # Start of pointerarray tests 566s ok 61 /pointerarray/add 566s ok - glib/cxx-20.test 566s # Running test: glib/array-test.test 566s ok 62 /pointerarray/insert 566s ok 63 /pointerarray/new-take 566s ok 64 /pointerarray/new-take-null-terminated 566s ok 65 /pointerarray/new-from-array 566s ok 66 /pointerarray/new-from-null-terminated-array 566s ok 67 /pointerarray/free-func 566s ok 68 /pointerarray/array_extend_and_steal 566s ok 69 /pointerarray/sort 566s ok 70 /pointerarray/sort-with-data 566s ok 71 /pointerarray/sort-values 566s ok 72 /pointerarray/sort-values-with-data 566s ok 73 /pointerarray/remove-range 566s ok 74 /pointerarray/steal 566s # Start of free tests 566s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 566s ok 75 /pointerarray/free/null-terminated 566s # End of free tests 566s # Start of new-take tests 566s ok 76 /pointerarray/new-take/empty 566s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 566s ok 78 /pointerarray/new-take/with-free-func 566s # End of new-take tests 566s # Start of new-take-null-terminated tests 566s ok 79 /pointerarray/new-take-null-terminated/empty 566s ok 80 /pointerarray/new-take-null-terminated/with-free-func 566s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 566s # End of new-take-null-terminated tests 566s # Start of new-from-array tests 566s ok 82 /pointerarray/new-from-array/empty 566s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 566s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 566s # End of new-from-array tests 566s # Start of new-from-null-terminated-array tests 566s ok 85 /pointerarray/new-from-null-terminated-array/empty 566s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 566s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 566s # End of new-from-null-terminated-array tests 566s # Start of ref-count tests 566s ok 88 /pointerarray/ref-count/not-null-terminated 566s ok 89 /pointerarray/ref-count/null-terminated 566s # End of ref-count tests 566s # Start of array_copy tests 566s # /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 566s ok 90 /pointerarray/array_copy/not-null-terminated 566s # /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 566s ok 91 /pointerarray/array_copy/null-terminated 566s # End of array_copy tests 566s # Start of array_extend tests 566s ok 92 /pointerarray/array_extend/not-null-terminated 566s ok 93 /pointerarray/array_extend/null-terminated 566s # End of array_extend tests 566s # Start of sort tests 566s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 566s ok 94 /pointerarray/sort/example 566s # End of sort tests 566s # Start of sort-with-data tests 566s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 566s ok 95 /pointerarray/sort-with-data/example 566s # End of sort-with-data tests 566s # Start of sort-values tests 566s ok 96 /pointerarray/sort-values/example 566s # End of sort-values tests 566s # Start of sort-values-with-data tests 566s ok 97 /pointerarray/sort-values-with-data/example 566s # End of sort-values-with-data tests 566s # Start of find tests 566s ok 98 /pointerarray/find/empty 566s ok 99 /pointerarray/find/non-empty 566s # End of find tests 566s # Start of steal_index tests 566s ok 100 /pointerarray/steal_index/not-null-terminated 566s ok 101 /pointerarray/steal_index/null-terminated 566s # End of steal_index tests 566s # End of pointerarray tests 566s # Start of bytearray tests 566s ok 102 /bytearray/steal 566s ok 103 /bytearray/append 566s ok 104 /bytearray/prepend 566s ok - glib/array-test.test 566s ok 105 /bytearray/remove 566s ok 106 /bytearray/remove-fast 566s ok 107 /bytearray/remove-range 566s ok 108 /bytearray/ref-count 566s ok 109 /bytearray/sort 566s ok 110 /bytearray/sort-with-data 566s ok 111 /bytearray/new-take 566s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 566s ok 113 /bytearray/free-to-bytes 566s # End of bytearray tests 566s # Running test: glib/io-stream.test 566s TAP version 14 566s # random seed: R02S2967dfadcc7321f64c83e30590e07fa7 566s 1..3 566s # Start of io-stream tests 566s ok 1 /io-stream/copy-chunks 566s # Start of close tests 566s # Start of async tests 566s ok 2 /io-stream/close/async/memory 566s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 566s ok 3 /io-stream/close/async/file 566s # End of async tests 566s # End of close tests 566s # End of io-stream tests 566s ok - glib/io-stream.test 566s # Running test: glib/gsubprocess.test 566s TAP version 14 566s # random seed: R02Sa94b267bbc13bfd7affb2cf0673cc972 566s 1..84 566s # Start of gsubprocess tests 566s ok 1 /gsubprocess/noop 566s ok 2 /gsubprocess/noop-all-to-null 566s ok 3 /gsubprocess/noop-no-wait 566s ok 4 /gsubprocess/noop-stdin-inherit 566s ok 5 /gsubprocess/search-path 566s ok 6 /gsubprocess/search-path-from-envp 568s # Executing: glib/gsubprocess.test 568s ok 7 /gsubprocess/signal 568s # slow test /gsubprocess/signal executed in 2.92 secs 568s ok 8 /gsubprocess/exit1 568s ok 9 /gsubprocess/echo1 568s ok 10 /gsubprocess/echo-merged 568s ok 11 /gsubprocess/cat-utf8 569s ok 12 /gsubprocess/cat-eof 569s # slow test /gsubprocess/cat-eof executed in 1.00 secs 573s ok 13 /gsubprocess/multi1 573s # slow test /gsubprocess/multi1 executed in 3.01 secs 573s ok 14 /gsubprocess/communicate 573s # Executing: glib/gsubprocess.test 575s ok 15 /gsubprocess/terminate 575s # slow test /gsubprocess/terminate executed in 2.97 secs 575s ok 16 /gsubprocess/fail-initialization 575s ok 17 /gsubprocess/env 575s ok 18 /gsubprocess/cwd 575s ok 19 /gsubprocess/launcher-close 575s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 575s ok 20 /gsubprocess/stdout-file 575s ok 21 /gsubprocess/stdout-fd 576s ok 22 /gsubprocess/child-setup 576s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 576s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 576s ok 23 /gsubprocess/launcher-environment 576s # Start of exit1 tests 576s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 576s ok 24 /gsubprocess/exit1/cancel 576s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 576s ok 25 /gsubprocess/exit1/cancel_in_cb 576s # End of exit1 tests 576s # Start of communicate tests 576s ok 26 /gsubprocess/communicate/cancelled 576s ok 27 /gsubprocess/communicate/async 576s ok 28 /gsubprocess/communicate/utf8 576s # hello world 576s ok 29 /gsubprocess/communicate/no-pipes 576s ok 30 /gsubprocess/communicate/separate-stderr 576s ok 31 /gsubprocess/communicate/stdout-only 576s # hello world 576s ok 32 /gsubprocess/communicate/stderr-only 576s ok 33 /gsubprocess/communicate/stdout-silence 576s ok 34 /gsubprocess/communicate/nothing 576s # Start of async tests 576s ok 35 /gsubprocess/communicate/async/cancelled 576s # hello world 576s ok 36 /gsubprocess/communicate/async/no-pipes 576s ok 37 /gsubprocess/communicate/async/separate-stderr 576s ok 38 /gsubprocess/communicate/async/stdout-only 576s # hello world 576s ok 39 /gsubprocess/communicate/async/stderr-only 576s ok 40 /gsubprocess/communicate/async/stdout-silence 576s # Start of cancelled tests 576s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 576s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 576s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 576s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 576s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 576s # End of cancelled tests 576s # End of async tests 576s # Start of utf8 tests 576s ok 46 /gsubprocess/communicate/utf8/cancelled 576s ok 47 /gsubprocess/communicate/utf8/async 576s # hello world 576s ok 48 /gsubprocess/communicate/utf8/no-pipes 576s ok 49 /gsubprocess/communicate/utf8/separate-stderr 576s ok 50 /gsubprocess/communicate/utf8/stdout-only 576s # hello world 576s ok 51 /gsubprocess/communicate/utf8/stderr-only 576s ok 52 /gsubprocess/communicate/utf8/stdout-silence 576s ok 53 /gsubprocess/communicate/utf8/invalid 576s # Start of async tests 576s ok 54 /gsubprocess/communicate/utf8/async/cancelled 576s # hello world 576s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 576s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 576s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 576s # hello world 576s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 576s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 576s ok 60 /gsubprocess/communicate/utf8/async/invalid 576s # Start of cancelled tests 576s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 576s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 576s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 576s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 576s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 576s # End of cancelled tests 576s # End of async tests 576s # Start of cancelled tests 576s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 576s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 576s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 576s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 576s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 576s # End of cancelled tests 576s # End of utf8 tests 576s # Start of cancelled tests 576s ok 71 /gsubprocess/communicate/cancelled/no-pipes 576s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 576s ok 73 /gsubprocess/communicate/cancelled/stdout-only 576s ok 74 /gsubprocess/communicate/cancelled/stderr-only 576s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 576s # End of cancelled tests 576s # End of communicate tests 576s # Start of env tests 576s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 576s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 576s ok 76 /gsubprocess/env/inherit 576s # End of env tests 576s # Start of pass-fd tests 576s ok 77 /gsubprocess/pass-fd/basic 576s ok 78 /gsubprocess/pass-fd/empty-child-setup 576s ok 79 /gsubprocess/pass-fd/inherit-fds 576s # End of pass-fd tests 576s # Start of fd-conflation tests 576s ok 80 /gsubprocess/fd-conflation/basic 576s ok 81 /gsubprocess/fd-conflation/empty-child-setup 576s ok 82 /gsubprocess/fd-conflation/inherit-fds 576s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 576s # End of fd-conflation tests 576s # Start of exit-status tests 576s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 576s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 576s ok - glib/gsubprocess.test 576s ok 84 /gsubprocess/exit-status/trapped 576s # End of exit-status tests 576s # End of gsubprocess tests 576s # Running test: glib/socket.test 576s TAP version 14 576s # random seed: R02S60400fe360a4a0890d44f76551a1fa4f 576s 1..28 576s # Start of socket tests 577s ok 1 /socket/ipv4_sync 577s # slow test /socket/ipv4_sync executed in 1.00 secs 578s ok 2 /socket/ipv4_async 578s # slow test /socket/ipv4_async executed in 1.00 secs 578s ok 3 /socket/ipv6_sync 578s ok 4 /socket/ipv6_async 578s ok 5 /socket/ipv6_v4mapped 578s # Executing: glib/socket.test 579s ok 6 /socket/close_graceful 579s # slow test /socket/close_graceful executed in 1.00 secs 579s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 579s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 579s ok 8 /socket/fd_reuse 579s ok 9 /socket/address 579s ok 10 /socket/unix-from-fd 579s ok 11 /socket/unix-connection 579s ok 12 /socket/unix-connection-ancillary-data 579s ok 13 /socket/source-postmortem 579s ok 14 /socket/read_write 579s ok 15 /socket/read_writev 579s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 579s ok 16 /socket/receive_bytes 579s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 579s ok 17 /socket/receive_bytes_from 579s # Start of ipv4_sync tests 579s ok 18 /socket/ipv4_sync/datagram 579s # Start of datagram tests 580s ok 19 /socket/ipv4_sync/datagram/timeouts 580s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 580s # End of datagram tests 580s # End of ipv4_sync tests 580s # Start of ipv6_sync tests 580s ok 20 /socket/ipv6_sync/datagram 580s # Start of datagram tests 581s ok 21 /socket/ipv6_sync/datagram/timeouts 581s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 581s # End of datagram tests 581s # End of ipv6_sync tests 581s # Start of reuse tests 581s ok 22 /socket/reuse/tcp 581s ok 23 /socket/reuse/udp 581s # End of reuse tests 581s # Start of get_available tests 581s ok 24 /socket/get_available/datagram 581s ok 25 /socket/get_available/stream 581s # End of get_available tests 581s # Start of credentials tests 581s # Supported on this OS: GCredentials:linux-ucred:pid=0 581s ok 26 /socket/credentials/tcp_client 581s # Supported on this OS: GCredentials:linux-ucred:pid=0 581s ok 27 /socket/credentials/tcp_server 581s # Supported on this OS: GCredentials:linux-ucred:pid=8273,uid=1000,gid=1000 581s ok 28 /socket/credentials/unix_socketpair 581s # End of credentials tests 581s # End of socket tests 581s ok - glib/socket.test 581s # Running test: glib/completion.test 581s ok - glib/completion.test 581s # Running test: glib/power-profile-monitor-dbus.test 581s TAP version 14 581s # random seed: R02S47879d960afc6568d21fc38a15b1ba8c 581s 1..1 581s # Start of completion tests 581s ok 1 /completion/test-completion 581s # End of completion tests 581s TAP version 13 581s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 581s 1..1 581s ok - glib/power-profile-monitor-dbus.test 581s # Running test: glib/gdbus-proxy.test 581s TAP version 14 581s # random seed: R02Sb5e3593533bdb499b1825ccbfdf0ccad 581s 1..5 581s # Start of gdbus tests 581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/home 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/cache 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/system-config2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/config 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/system-data2 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/data 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/state 581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/.dirs/runtime 583s ok 1 /gdbus/proxy 583s # slow test /gdbus/proxy executed in 1.73 secs 583s # Start of proxy tests 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-properties/.dirs/runtime 583s ok 2 /gdbus/proxy/no-properties 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/wellknown-noauto/.dirs/runtime 583s ok 3 /gdbus/proxy/wellknown-noauto 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/async/.dirs/runtime 583s # Executing: glib/gdbus-proxy.test 585s ok 4 /gdbus/proxy/async 585s # slow test /gdbus/proxy/async executed in 1.72 secs 585s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/home 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/cache 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/system-config2 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/config 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/system-data2 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/data 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/state 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_AOD452/gdbus/proxy/no-match-rule/.dirs/runtime 585s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 585s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 587s ok 5 /gdbus/proxy/no-match-rule 587s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 587s # End of proxy tests 587s # End of gdbus tests 587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 587s ok - glib/gdbus-proxy.test 587s # Running test: glib/binding.test 587s TAP version 14 587s # random seed: R02S5398c074a10adfa350f09bb1857fd3e4 587s 1..19 587s # Start of binding tests 587s ok 1 /binding/default 587s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 587s ok 2 /binding/canonicalisation 587s ok 3 /binding/bidirectional 587s ok 4 /binding/transform 587s ok 5 /binding/transform-default 587s ok 6 /binding/transform-closure 587s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 587s ok 7 /binding/chain 587s ok 8 /binding/sync-create 587s ok 9 /binding/invert-boolean 587s ok 10 /binding/same-object 587s ok 11 /binding/unbind 587s ok 12 /binding/unbind-weak 587s ok - glib/binding.test 587s # Running test: glib/struct-info.test 587s ok - glib/struct-info.test 587s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 587s ok 13 /binding/unbind-multiple 587s ok 14 /binding/fail 587s ok 15 /binding/interface 587s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 587s ok 16 /binding/concurrent-unbind 587s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 587s ok 17 /binding/concurrent-finalizing 587s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 587s ok 18 /binding/dispose-source 587s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 587s ok 19 /binding/dispose-target 587s # End of binding tests 587s TAP version 14 587s # random seed: R02S86797493bfff25ab6e03f3afc594168d 587s 1..4 587s # Start of struct-info tests 587s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/home 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/cache 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/system-config2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/config 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/system-data2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/data 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/state 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7NAY52/struct-info/field-iterators/.dirs/runtime 587s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 587s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 587s ok 1 /struct-info/field-iterators 587s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/home 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/cache 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/system-config2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/config 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/system-data2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/data 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/state 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7NAY52/struct-info/sizeof-gvalue/.dirs/runtime 587s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 587s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 587s ok 2 /struct-info/sizeof-gvalue 587s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/home 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/config 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/data 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/state 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7NAY52/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 587s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 587s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 587s ok 3 /struct-info/is-pointer-for-struct-method-arg 587s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/home 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/cache 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/system-config2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/config 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/system-data2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/data 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/state 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_7NAY52/struct-info/boxed/.dirs/runtime 587s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 587s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 587s ok 4 /struct-info/boxed 587s # End of struct-info tests 587s # Running test: glib/search-utils.test 587s TAP version 14 587s # random seed: R02Sb31e3e1981e5afd8a728b96a4ca75c75 587s # GLib-DEBUG: Current user locale: C.UTF-8 587s 1..6 587s # Start of search tests 587s # GLib-DEBUG: Started 587s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 587s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 587s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 587s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 587s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 587s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 587s ok 1 /search/basic 587s # GLib-DEBUG: Started 587s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 587s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 587s # GLib-DEBUG: 'ele' - 'élève' should match: OK 587s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 587s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 587s ok 2 /search/composed 587s # GLib-DEBUG: Started 587s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 587s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 587s ok 3 /search/decomposed 587s # GLib-DEBUG: Started 587s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 587s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 587s ok 4 /search/turkish 587s # GLib-DEBUG: Started 587s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 587s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 587s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 587s ok - glib/search-utils.test 587s # Running test: glib/objects-refcount2.test 587s ok 5 /search/c_locale_unicode 587s # GLib-DEBUG: Started 587s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 587s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 587s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 587s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 587s ok 6 /search/multi_words 587s # End of search tests 587s TAP version 14 587s # random seed: R02S275fac2766246595f20d636b78eb988c 587s 1..1 587s # Start of gobject tests 587s # Start of refcount tests 587s # init 0x577ebac7d400 587s # 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 587s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # Executing: glib/objects-refcount2.test 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 588s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # . 589s # dispose 0x577ebac7d400! 589s # 589s ok 1 /gobject/refcount/object-advanced 589s # slow test /gobject/refcount/object-advanced executed in 2.18 secs 589s # End of refcount tests 589s # End of gobject tests 589s ok - glib/objects-refcount2.test 589s # Running test: glib/bytes.test 589s TAP version 14 589s # random seed: R02S826d8fb25ee440f6dd0e2f9b5f04c942 589s 1..21 589s # Start of bytes tests 589s ok 1 /bytes/new 589s ok 2 /bytes/new-take 589s ok 3 /bytes/new-static 589s ok 4 /bytes/new-with-free-func 589s ok 5 /bytes/new-from-bytes 589s ok 6 /bytes/new-from-bytes-slice 589s ok 7 /bytes/new-from-bytes-shared-ref 589s ok 8 /bytes/hash 589s ok 9 /bytes/equal 589s ok 10 /bytes/compare 589s ok 11 /bytes/null 589s ok 12 /bytes/get-region 589s ok - glib/bytes.test 589s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 589s ok 13 /bytes/unref-null 589s # Start of to-data tests 589s ok 14 /bytes/to-data/transferred 589s ok 15 /bytes/to-data/two-refs 589s ok 16 /bytes/to-data/non-malloc 589s ok 17 /bytes/to-data/different-free-func 589s # End of to-data tests 589s # Start of to-array tests 589s ok 18 /bytes/to-array/transferred 589s ok 19 /bytes/to-array/two-refs 589s ok 20 /bytes/to-array/non-malloc 589s # Start of transferred tests 589s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 589s ok 21 /bytes/to-array/transferred/oversize 589s # End of transferred tests 589s # End of to-array tests 589s # End of bytes tests 589s # Running test: glib/module-test-plugin.test 589s TAP version 14 589s # random seed: R02S1672152a6bf80ef408d5b332aa0462c5 589s 1..3 589s # Start of module tests 589s ok 1 /module/basics 589s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 589s ok 2 /module/invalid-libtool-archive 589s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 589s ok 3 /module/local-binding 589s # End of module tests 589s ok - glib/module-test-plugin.test 589s # Running test: glib/unix-fd.test 589s TAP version 14 589s # random seed: R02S553429ed947c0c803ceb18c02f73bbdb 589s 1..2 589s # Start of unix-fd tests 589s ok 1 /unix-fd/fd-list 589s ok 2 /unix-fd/scm 589s # End of unix-fd tests 589s ok - glib/unix-fd.test 589s # Running test: glib/tls-bindings.test 589s TAP version 14 589s # random seed: R02S05704d9cdce3f51b316890c026ae93d5 589s 1..2 589s # Start of tls-connection tests 589s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 589s ok 1 /tls-connection/get-tls-channel-binding 589s ok 2 /tls-connection/get-dtls-channel-binding 589s # End of tls-connection tests 589s ok - glib/tls-bindings.test 589s # Running test: glib/gdbus-connection-slow.test 589s TAP version 14 589s # random seed: R02S6569653b5c4803fd23bcce0b76ee5cea 589s 1..2 589s # Start of gdbus tests 589s # Start of connection tests 589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/home 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/cache 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/system-config2 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/config 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/system-data2 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/data 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/state 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/flush/.dirs/runtime 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s ok 1 /gdbus/connection/flush 589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/home 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/cache 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/system-config2 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/config 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/system-data2 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/data 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/state 589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_LV6R52/gdbus/connection/large_message/.dirs/runtime 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s ok 2 /gdbus/connection/large_message 590s # End of connection tests 590s # End of gdbus tests 590s ok - glib/gdbus-connection-slow.test 590s # Running test: glib/642026.test 590s TAP version 14 590s # random seed: R02S3314cb012170229083ed53344e4d597f 590s 1..1 590s # Start of glib tests 590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 590s ok - glib/642026.test 590s ok 1 /glib/642026 590s # End of glib tests 590s # Running test: glib/gdbus-threading.test 590s TAP version 14 590s # random seed: R02S9505657e84327008a0b3c68fb393e1f1 590s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 590s ok - glib/gdbus-threading.test 590s # Running test: glib/null-settings-backend.test 590s TAP version 14 590s # random seed: R02Sb7a32e606986fe4de400538780ab17ba 590s 1..1 590s # Start of null-settings-backend tests 590s ok 1 /null-settings-backend/extension-point-registered 590s # End of null-settings-backend tests 590s ok - glib/null-settings-backend.test 590s # Running test: glib/gi-compile-repository.py.test 590s TAP version 13 590s ok 1 __main__.TestGICompileRepository.test_open_failure 590s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 590s # gi-compile-repository: /usr/bin/gi-compile-repository 590s # tmpdir: /tmp/tmp9ry7n_4l 590s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmp9ry7n_4l/invalid.typelib'] 590s # Return code: 1 590s # Output: 590s # 590s # Error: 590s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory 590s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 590s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 590s # gi-compile-repository: /usr/bin/gi-compile-repository 590s # tmpdir: /tmp/tmp4v9q5ute 590s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmp4v9q5ute/GLib-2.typelib'] 590s # Return code: 0 590s # Output: 590s # 590s # Error: 590s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 590s # gi-compile-repository: /usr/bin/gi-compile-repository 590s # tmpdir: /tmp/tmpof_fjljp 590s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/x86_64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 590s # Return code: 1 590s # Output: 590s # 590s # Error: 590s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 590s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 590s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 590s # gi-compile-repository: /usr/bin/gi-compile-repository 590s # tmpdir: /tmp/tmp67dfz_6l 590s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmp67dfz_6l/GObject-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 590s # Return code: 0 590s # Output: 590s # 590s # Error: 590s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 590s # gi-compile-repository: /usr/bin/gi-compile-repository 590s # tmpdir: /tmp/tmpq9gm_0z_ 590s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 590s # Return code: 1 590s # Output: 590s # 590s # Error: 590s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 591s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 591s # gir path set to [PosixPath('/usr/lib/x86_64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 591s # gi-compile-repository: /usr/bin/gi-compile-repository 591s # tmpdir: /tmp/tmpnfdwrn7_ 591s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpnfdwrn7_/Gio-2.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 591s # Return code: 0 591s # Output: 591s # 591s # Error: 591s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 591s # gi-compile-repository: /usr/bin/gi-compile-repository 591s # tmpdir: /tmp/tmpmo9i70wl 591s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/x86_64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 591s # Return code: 1 591s # Output: 591s # 591s # Error: 591s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 591s 1..7 591s ok - glib/gi-compile-repository.py.test 591s # Running test: glib/rwlock.test 591s TAP version 14 591s # random seed: R02Sddcfa4b39fedd025d327443a3c6e8c44 591s 1..8 591s # Start of thread tests 591s ok 1 /thread/rwlock1 591s ok 2 /thread/rwlock2 591s ok 3 /thread/rwlock3 591s ok 4 /thread/rwlock4 591s ok 5 /thread/rwlock5 591s ok 6 /thread/rwlock6 593s # Executing: glib/rwlock.test 598s ok 7 /thread/rwlock7 598s # slow test /thread/rwlock7 executed in 6.84 secs 598s ok - glib/rwlock.test 598s ok 8 /thread/rwlock8 598s # End of thread tests 598s # Running test: glib/file.test 598s TAP version 14 598s # random seed: R02S65f13b3882cd3abb15444e805ea176ce 598s 1..55 598s # Start of file tests 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/basic/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/basic/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/basic/.dirs/system-config1:/tmp/test_file_ZO0V52/file/basic/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/basic/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/basic/.dirs/system-data1:/tmp/test_file_ZO0V52/file/basic/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/basic/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/basic/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/basic/.dirs/runtime 598s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 598s ok 1 /file/basic 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/build-filename/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/build-filename/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/build-filename/.dirs/system-config1:/tmp/test_file_ZO0V52/file/build-filename/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/build-filename/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/build-filename/.dirs/system-data1:/tmp/test_file_ZO0V52/file/build-filename/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/build-filename/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/build-filename/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/build-filename/.dirs/runtime 598s ok 2 /file/build-filename 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/system-config1:/tmp/test_file_ZO0V52/file/build-filenamev/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/system-data1:/tmp/test_file_ZO0V52/file/build-filenamev/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/build-filenamev/.dirs/runtime 598s ok 3 /file/build-filenamev 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/parent/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/parent/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/parent/.dirs/system-config1:/tmp/test_file_ZO0V52/file/parent/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/parent/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/parent/.dirs/system-data1:/tmp/test_file_ZO0V52/file/parent/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/parent/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/parent/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/parent/.dirs/runtime 598s ok 4 /file/parent 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/child/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/child/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/child/.dirs/system-config1:/tmp/test_file_ZO0V52/file/child/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/child/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/child/.dirs/system-data1:/tmp/test_file_ZO0V52/file/child/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/child/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/child/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/child/.dirs/runtime 598s ok 5 /file/child 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/empty-path/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/empty-path/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/empty-path/.dirs/system-config1:/tmp/test_file_ZO0V52/file/empty-path/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/empty-path/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/empty-path/.dirs/system-data1:/tmp/test_file_ZO0V52/file/empty-path/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/empty-path/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/empty-path/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/empty-path/.dirs/runtime 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 598s # /file/empty-path summary: Check that creating a file with an empty path results in errors 598s ok 6 /file/empty-path 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/type/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/type/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/type/.dirs/system-config1:/tmp/test_file_ZO0V52/file/type/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/type/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/type/.dirs/system-data1:/tmp/test_file_ZO0V52/file/type/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/type/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/type/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/type/.dirs/runtime 598s ok 7 /file/type 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/parse-name/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/parse-name/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/parse-name/.dirs/system-config1:/tmp/test_file_ZO0V52/file/parse-name/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/parse-name/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/parse-name/.dirs/system-data1:/tmp/test_file_ZO0V52/file/parse-name/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/parse-name/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/parse-name/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/parse-name/.dirs/runtime 598s ok 8 /file/parse-name 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/replace-load/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/replace-load/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/replace-load/.dirs/system-config1:/tmp/test_file_ZO0V52/file/replace-load/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/replace-load/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/replace-load/.dirs/system-data1:/tmp/test_file_ZO0V52/file/replace-load/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/replace-load/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/replace-load/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/replace-load/.dirs/runtime 598s ok 9 /file/replace-load 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/system-config1:/tmp/test_file_ZO0V52/file/replace-cancel/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/system-data1:/tmp/test_file_ZO0V52/file/replace-cancel/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/replace-cancel/.dirs/runtime 598s # Bug Reference: https://bugzilla.gnome.org/629301 598s ok 10 /file/replace-cancel 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/system-config1:/tmp/test_file_ZO0V52/file/replace-symlink/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/system-data1:/tmp/test_file_ZO0V52/file/replace-symlink/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/replace-symlink/.dirs/runtime 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 598s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 598s # Using temporary directory /tmp/test_file_ZO0V52/g_file_replace_symlink_GYQV52 598s ok 11 /file/replace-symlink 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-new-tmp/.dirs/runtime 598s ok 12 /file/async-new-tmp 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-new-tmp-dir/.dirs/runtime 598s ok 13 /file/async-new-tmp-dir 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-delete/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-delete/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-delete/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-delete/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-delete/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-delete/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-delete/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-delete/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-delete/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-delete/.dirs/runtime 598s ok 14 /file/async-delete 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-make-symlink/.dirs/runtime 598s ok 15 /file/async-make-symlink 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/copy-preserve-mode/.dirs/runtime 598s # Current umask: 2 598s # Vector 0 598s # Vector 1 598s # Vector 2 598s # Vector 3 598s # Vector 4 598s # Vector 5 598s # Vector 6 598s # Vector 7 598s # Vector 8 598s # Vector 9 598s # Vector 10 598s ok 16 /file/copy-preserve-mode 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/copy-async-with-closures/.dirs/runtime 598s ok 17 /file/copy-async-with-closures 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/measure/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/measure/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/measure/.dirs/system-config1:/tmp/test_file_ZO0V52/file/measure/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/measure/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/measure/.dirs/system-data1:/tmp/test_file_ZO0V52/file/measure/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/measure/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/measure/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/measure/.dirs/runtime 598s ok 18 /file/measure 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/measure-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/measure-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/measure-async/.dirs/system-config1:/tmp/test_file_ZO0V52/file/measure-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/measure-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/measure-async/.dirs/system-data1:/tmp/test_file_ZO0V52/file/measure-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/measure-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/measure-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/measure-async/.dirs/runtime 598s ok 19 /file/measure-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/system-config1:/tmp/test_file_ZO0V52/file/load-bytes/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/system-data1:/tmp/test_file_ZO0V52/file/load-bytes/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/load-bytes/.dirs/runtime 598s ok 20 /file/load-bytes 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/load-bytes-async/.dirs/runtime 598s ok 21 /file/load-bytes-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/load-bytes-4gb/.dirs/runtime 598s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/load-contents-4gb/.dirs/runtime 598s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/load-contents-4gb-async/.dirs/runtime 598s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/.dirs/runtime 598s ok 25 /file/writev 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/build-attribute-list-for-copy/.dirs/runtime 598s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 598s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 598s # 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::* 598s # 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::* 598s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 598s # Attributes for copy: standard::size,xattr::* 598s # Attributes for copy: standard::size,unix::mode,xattr::* 598s ok 26 /file/build-attribute-list-for-copy 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/move_async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/move_async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/move_async/.dirs/system-config1:/tmp/test_file_ZO0V52/file/move_async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/move_async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/move_async/.dirs/system-data1:/tmp/test_file_ZO0V52/file/move_async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/move_async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/move_async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/move_async/.dirs/runtime 598s ok 27 /file/move_async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/move-async-with-closures/.dirs/runtime 598s ok 28 /file/move-async-with-closures 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/query-zero-length-content-type/.dirs/runtime 598s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 598s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 598s ok 29 /file/query-zero-length-content-type 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/config 598s ok 30 /file/query-default-handler-file 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/config 598s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_ZO0V52/file/query-default-handler-file/.dirs/config to /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/config 598s ok 31 /file/query-default-handler-file-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/config 598s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_ZO0V52/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/config 598s ok 32 /file/query-default-handler-uri 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/runtime 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/data/applications 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/config 598s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_ZO0V52/file/query-default-handler-uri/.dirs/config to /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/config 598s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_ZO0V52/file/query-default-handler-uri-async/.dirs/config 598s ok 33 /file/query-default-handler-uri-async 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/enumerator-cancellation/.dirs/runtime 598s ok 34 /file/enumerator-cancellation 598s # Start of async-create-delete tests 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-create-delete/0/.dirs/runtime 598s ok 35 /file/async-create-delete/0 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-create-delete/1/.dirs/runtime 598s ok 36 /file/async-create-delete/1 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-create-delete/10/.dirs/runtime 598s ok 37 /file/async-create-delete/10 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-create-delete/25/.dirs/runtime 598s ok 38 /file/async-create-delete/25 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/async-create-delete/4096/.dirs/runtime 598s ok 39 /file/async-create-delete/4096 598s # End of async-create-delete tests 598s # Start of replace-symlink tests 598s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/home 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/cache 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/system-config2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/config 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/system-data2 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/data 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/state 598s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/replace-symlink/using-etag/.dirs/runtime 598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 598s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 598s # Using temporary directory /tmp/test_file_ZO0V52/g_file_replace_symlink_using_etag_U0W852 598s # Executing: glib/file.test 600s ok 40 /file/replace-symlink/using-etag 600s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 600s # End of replace-symlink tests 600s # Start of replace tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/system-config1:/tmp/test_file_ZO0V52/file/replace/write-only/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/system-data1:/tmp/test_file_ZO0V52/file/replace/write-only/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/replace/write-only/.dirs/runtime 600s # /file/replace/write-only summary: Test various situations for g_file_replace() 600s # Current umask: 2 600s # Test 0, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_LVU852 600s # Test 1, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_AIT852 600s # Test 2, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_8K4852 600s # Test 3, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_U82852 600s # Test 4, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_OE3852 600s # Test 5, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_QI3852 600s # Test 6, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_YN1852 600s # Test 7, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_MVZ852 600s # Test 8, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_A0Z852 600s # Test 9, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_A6Z852 600s # Test 10, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_AJ0952 600s # Test 11, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_R9Y952 600s # Test 12, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_5QX952 600s # Test 13, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_B8X952 600s # Test 14, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_IPW952 600s # Test 15, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_QVU952 600s # Test 16, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_FO6952 600s # Test 17, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_2V4952 600s # Test 18, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_FO4952 600s # Test 19, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_V52952 600s # Test 20, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_CB1952 600s # Test 21, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_18N952 600s # Test 22, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_S7L952 600s # Test 23, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_8EM952 600s # Test 24, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_HNK952 600s # Test 25, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_YTI952 600s # Test 26, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_VZI952 600s # Test 27, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_H7I952 600s # Test 28, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_LAU952 600s # Test 29, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_1HS952 600s # Test 30, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_S0S952 600s # Test 31, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_5MR952 600s # Test 32, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_PRQ952 600s # Test 33, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_ANQ952 600s # Test 34, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_Y8O952 600s # Test 35, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_5EP952 600s # Test 36, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_GGW752 600s # Test 37, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_LVU752 600s # Test 38, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_PNU752 600s # Test 39, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_NTT752 600s # Test 40, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_TZR752 600s # Test 41, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_RU2752 600s # Test 42, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_JF1752 600s # Test 43, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_BMZ752 600s # Test 44, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_B5X752 600s # Test 45, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_UBY752 600s # Test 46, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_VKX752 600s # Test 47, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_FSX752 600s # Test 48, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_1FJ752 600s # We do not have CAP_DAC_OVERRIDE or equivalent 600s ok 41 /file/replace/write-only 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/system-config1:/tmp/test_file_ZO0V52/file/replace/read-write/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/system-data1:/tmp/test_file_ZO0V52/file/replace/read-write/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/replace/read-write/.dirs/runtime 600s # /file/replace/read-write summary: Test various situations for g_file_replace() 600s # Current umask: 2 600s # Test 0, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_Z3H752 600s # Test 1, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_IDI752 600s # Test 2, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_NJG752 600s # Test 3, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_N2E752 600s # Test 4, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_OIF752 600s # Test 5, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_GOF752 600s # Test 6, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_UIQ752 600s # Test 7, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_VWO752 600s # Test 8, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_11O752 600s # Test 9, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_C1N752 600s # Test 10, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_M6M752 600s # Test 11, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_MBL752 600s # Test 12, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_AIL752 600s # Test 13, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_L1L752 600s # Test 14, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_67L852 600s # Test 15, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_RDK852 600s # Test 16, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_HVI852 600s # Test 17, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_TAI852 600s # Test 18, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_G9F852 600s # Test 19, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_9OS852 600s # Test 20, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_XYQ852 600s # Test 21, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_WVO852 600s # Test 22, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_XNO852 600s # Test 23, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_7AN852 600s # Test 24, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_DWM852 600s # Test 25, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_UL8752 600s # Test 26, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_5Q8752 600s # Test 27, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_BX8752 600s # Test 28, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_326752 600s # Test 29, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_UJ5752 600s # Test 30, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_3O5752 600s # Test 31, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_TC4752 600s # Test 32, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_Q53752 600s # Test 33, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_KSD852 600s # Test 34, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_FDE852 600s # Test 35, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_FIE852 600s # Test 36, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_CQD852 600s # Test 37, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_9YB852 600s # Test 38, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_SX9752 600s # Test 39, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_4II652 600s # Test 40, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_VNF652 600s # Test 41, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_TUE652 600s # Test 42, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_ABE652 600s # Test 43, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_VTC652 600s # Test 44, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_3MN652 600s # Test 45, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_GVN652 600s # Test 46, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_43L652 600s # Test 47, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_DCM652 600s # Test 48, using temporary directory /tmp/test_file_ZO0V52/g_file_replace_58J652 600s # We do not have CAP_DAC_OVERRIDE or equivalent 600s ok 42 /file/replace/read-write 600s # End of replace tests 600s # Start of copy tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/system-config1:/tmp/test_file_ZO0V52/file/copy/progress/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/system-data1:/tmp/test_file_ZO0V52/file/copy/progress/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/copy/progress/.dirs/runtime 600s ok 43 /file/copy/progress 600s # End of copy tests 600s # Start of writev tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/no-bytes-written/.dirs/runtime 600s ok 44 /file/writev/no-bytes-written 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/no-vectors/.dirs/runtime 600s ok 45 /file/writev/no-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/empty-vectors/.dirs/runtime 600s ok 46 /file/writev/empty-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/too-big-vectors/.dirs/runtime 600s ok 47 /file/writev/too-big-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/async/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/async/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/async/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/async/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/async/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/async/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/async/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/async/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/async/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/async/.dirs/runtime 600s ok 48 /file/writev/async 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/async_all/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/async_all/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/async_all/.dirs/runtime 600s ok 49 /file/writev/async_all 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/async_all-empty-vectors/.dirs/runtime 600s ok 50 /file/writev/async_all-empty-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/async_all-no-vectors/.dirs/runtime 600s ok 51 /file/writev/async_all-no-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/async_all-to-big-vectors/.dirs/runtime 600s ok 52 /file/writev/async_all-to-big-vectors 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/writev/async_all-cancellation/.dirs/runtime 600s ok 53 /file/writev/async_all-cancellation 600s # End of writev tests 600s # Start of from-uri tests 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/from-uri/ignores-query-string/.dirs/runtime 600s ok 54 /file/from-uri/ignores-query-string 600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/home 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/cache 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/system-config2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/config 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/system-data2 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/data 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/state 600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_ZO0V52/file/from-uri/ignores-fragment/.dirs/runtime 600s ok 55 /file/from-uri/ignores-fragment 600s # End of from-uri tests 600s # End of file tests 600s ok - glib/file.test 600s # Running test: glib/signals-refcount3.test 600s TAP version 14 600s # random seed: R02S628982b0a763321bae13fde31cde94e5 600s 1..1 600s # Start of gobject tests 600s # Start of refcount tests 600s # init 0x62b0cb895dd0 600s # 600s # init 0x62b0cb892310 600s # 603s # Executing: glib/signals-refcount3.test 605s # dispose 0x62b0cb895dd0! 605s # 605s # dispose 0x62b0cb892310! 605s # 605s ok 1 /gobject/refcount/signals 605s # slow test /gobject/refcount/signals executed in 5.00 secs 605s # End of refcount tests 605s # End of gobject tests 605s ok - glib/signals-refcount3.test 605s # Running test: glib/reference.test 605s TAP version 14 605s # random seed: R02S2beada4029ea9e4b75216300bf8ed820 605s 1..29 605s # Start of type tests 605s ok 1 /type/fundamentals 605s ok 2 /type/qdata 605s ok - glib/reference.test 605s # Running test: glib/boxed.test 605s ok - glib/boxed.test 605s # Running test: glib/gdbus-error.test 605s ok 3 /type/query 605s ok 4 /type/class-private 605s # End of type tests 605s # Start of object tests 605s ok 5 /object/clear 605s ok 6 /object/clear-function 605s ok 7 /object/set 605s ok 8 /object/set-function 605s ok 9 /object/value 605s ok 10 /object/initially-unowned 605s ok 11 /object/weak-pointer 605s ok 12 /object/weak-ref 605s ok 13 /object/toggle-ref 605s ok 14 /object/qdata 605s ok 15 /object/qdata2 605s # Start of set tests 605s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 605s ok 16 /object/set/derived-type 605s # End of set tests 605s # Start of weak-pointer tests 605s ok 17 /object/weak-pointer/clear 605s ok 18 /object/weak-pointer/clear-function 605s ok 19 /object/weak-pointer/set 605s ok 20 /object/weak-pointer/set-function 605s # End of weak-pointer tests 605s # Start of weak-ref tests 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 605s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 605s ok 21 /object/weak-ref/on-dispose 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 605s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 605s ok 22 /object/weak-ref/on-run-dispose 605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 605s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 605s ok 23 /object/weak-ref/on-toggle-notify 605s ok 24 /object/weak-ref/in-toggle-notify 605s ok 25 /object/weak-ref/many 605s # Start of concurrent tests 605s ok 26 /object/weak-ref/concurrent/0 605s ok 27 /object/weak-ref/concurrent/1 605s # End of concurrent tests 605s # End of weak-ref tests 605s # Start of toggle-ref tests 605s ok 28 /object/toggle-ref/ref-on-dispose 605s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 605s # End of toggle-ref tests 605s # End of object tests 605s TAP version 14 605s # random seed: R02S92764a18de922ca1e949bf78dd88da37 605s 1..27 605s # Start of boxed tests 605s ok 1 /boxed/define 605s ok 2 /boxed/ownership 605s ok 3 /boxed/closure 605s ok 4 /boxed/date 605s ok 5 /boxed/value 605s ok 6 /boxed/string 605s ok 7 /boxed/hashtable 605s ok 8 /boxed/array 605s ok 9 /boxed/ptrarray 605s ok 10 /boxed/regex 605s ok 11 /boxed/varianttype 605s ok 12 /boxed/error 605s ok 13 /boxed/datetime 605s ok 14 /boxed/matchinfo 605s ok 15 /boxed/keyfile 605s ok 16 /boxed/mainloop 605s ok 17 /boxed/maincontext 605s ok 18 /boxed/source 605s ok 19 /boxed/variantbuilder 605s ok 20 /boxed/timezone 605s ok 21 /boxed/pollfd 605s ok 22 /boxed/markup 605s ok 23 /boxed/thread 605s ok 24 /boxed/checksum 605s ok 25 /boxed/tree 605s ok 26 /boxed/patternspec 605s ok 27 /boxed/rand 605s # End of boxed tests 605s TAP version 14 605s # random seed: R02S7f6def137fa5332525aba3b3d1154479 605s 1..4 605s # Start of gdbus tests 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_BD7452/gdbus/registered-errors/.dirs/runtime 605s ok 1 /gdbus/registered-errors 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_BD7452/gdbus/unregistered-errors/.dirs/runtime 605s ok 2 /gdbus/unregistered-errors 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/data 605s ok - glib/gdbus-error.test 605s # Running test: glib/mainloop.test 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_BD7452/gdbus/transparent-gerror/.dirs/runtime 605s ok 3 /gdbus/transparent-gerror 605s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/home 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/cache 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/system-config2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/config 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/system-data2 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/data 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/state 605s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_BD7452/gdbus/register-error/.dirs/runtime 605s ok 4 /gdbus/register-error 605s # End of gdbus tests 605s TAP version 14 605s # random seed: R02Sbf59d33faaba17e1d6c0e2be41142b7d 605s 1..45 605s # Start of maincontext tests 605s ok 1 /maincontext/basic 605s # Add same-priority sources: 16 605s # Find each source: 1 605s # Remove in random order: 14 605s ok 2 /maincontext/nsources_same_priority 605s # Add different-priority sources: 12 605s # Find each source: 0 605s # Remove in random order: 16 605s ok 3 /maincontext/nsources_different_priority 606s # Add sources from threads: 119 606s # Remove sources from threads: 124 606s ok 4 /maincontext/nsources_threadpool 606s ok 5 /maincontext/source_finalization 606s # /maincontext/idle-once summary: Test g_idle_add_once() works 606s ok 6 /maincontext/idle-once 606s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 606s ok 7 /maincontext/timeout-once 606s # Start of source_finalization_from_source tests 606s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 8 /maincontext/source_finalization_from_source/0 606s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 9 /maincontext/source_finalization_from_source/1 606s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 10 /maincontext/source_finalization_from_source/2 606s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 11 /maincontext/source_finalization_from_source/3 606s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 12 /maincontext/source_finalization_from_source/4 606s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 13 /maincontext/source_finalization_from_source/5 606s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 14 /maincontext/source_finalization_from_source/6 606s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 15 /maincontext/source_finalization_from_source/7 606s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 16 /maincontext/source_finalization_from_source/8 606s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 606s ok 17 /maincontext/source_finalization_from_source/9 606s # End of source_finalization_from_source tests 606s # Start of source_finalization_from_dispatch tests 606s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 606s ok 18 /maincontext/source_finalization_from_dispatch/0 606s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 606s ok 19 /maincontext/source_finalization_from_dispatch/1 606s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 606s ok 20 /maincontext/source_finalization_from_dispatch/2 606s # End of source_finalization_from_dispatch tests 606s # End of maincontext tests 606s # Start of mainloop tests 606s ok 21 /mainloop/basic 606s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 606s ok 23 /mainloop/priorities 606s ok 24 /mainloop/invoke 606s # slow test /mainloop/invoke executed in 0.50 secs 607s ok 25 /mainloop/child_sources 607s # slow test /mainloop/child_sources executed in 1.22 secs 608s # Executing: glib/mainloop.test 610s ok 26 /mainloop/recursive_child_sources 610s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 610s ok 27 /mainloop/recursive_loop_child_sources 610s ok 28 /mainloop/swapping_child_sources 610s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 610s ok 29 /mainloop/blocked_child_sources 611s ok 30 /mainloop/source_time 611s # slow test /mainloop/source_time executed in 1.00 secs 611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 611s ok 31 /mainloop/overflow 611s ok 32 /mainloop/ready-time 611s # slow test /mainloop/ready-time executed in 0.50 secs 611s ok 33 /mainloop/wakeup 611s ok 34 /mainloop/remove-invalid 611s ok 35 /mainloop/unref-while-pending 612s ok 36 /mainloop/unix-fd 612s # slow test /mainloop/unix-fd executed in 0.86 secs 612s ok 37 /mainloop/unix-fd-source 612s ok 38 /mainloop/source-unix-fd-api 612s ok 39 /mainloop/wait 612s ok 40 /mainloop/unix-file-poll 612s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 612s ok 41 /mainloop/unix-fd-priority 612s ok 42 /mainloop/nfds 612s ok 43 /mainloop/steal-fd 612s # Start of ownerless-polling tests 612s ok 44 /mainloop/ownerless-polling/attach-first 612s ok 45 /mainloop/ownerless-polling/pop-first 612s # End of ownerless-polling tests 612s # End of mainloop tests 612s ok - glib/mainloop.test 612s # Running test: glib/environment.test 612s TAP version 14 612s # random seed: R02S5fb5b15e66c9672f475b704f7337d69e 612s 1..6 612s # Start of environ tests 612s # /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. 612s ok 1 /environ/listenv 612s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 612s ok 2 /environ/getenv 612s ok 3 /environ/setenv 612s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 612s ok 4 /environ/array 612s # /environ/null summary: Test getting and setting variables on a NULL envp array. 612s ok 5 /environ/null 612s # /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. 612s ok 6 /environ/case 612s # End of environ tests 612s ok - glib/environment.test 612s # Running test: glib/assert-msg-test.py.test 612s ok - glib/assert-msg-test.py.test 612s # Running test: glib/registered-type-info.test 612s TAP version 13 612s ok 1 __main__.TestAssertMessage.test_gassert 612s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 612s # tmpdir: /tmp/tmpu_8_amir 612s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 612s # Return code: -6 612s # Output: 612s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 612s # Error: 612s # ** 612s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 612s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 612s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 612s # tmpdir: /tmp/tmpccwyv7kh 612s 1..2 612s TAP version 14 612s # random seed: R02Sad73023a9117d97ac95aaf641b377748 612s 1..1 612s # Start of registered-type-info tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_Q2U452/registered-type-info/boxed/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 612s # Expecting CClosure to not be boxed 612s # Expecting TypeCValue to not be boxed 612s # Expecting InitiallyUnownedClass to not be boxed 612s # Expecting BookmarkFile to be boxed 612s # Expecting Closure to be boxed 612s # Expecting Object to not be boxed 612s ok - glib/registered-type-info.test 612s ok 1 /registered-type-info/boxed 612s # End of registered-type-info tests 612s # Running test: glib/sandbox.test 612s TAP version 14 612s # random seed: R02S7e2e7c33092d694c8d09325b049f111d 612s 1..4 612s # Start of sandbox tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_0MR552/sandbox/none/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_0MR552/sandbox/none/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0MR552/sandbox/none/.dirs/runtime 612s ok 1 /sandbox/none 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_0MR552/sandbox/snap/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_0MR552/sandbox/snap/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0MR552/sandbox/snap/.dirs/runtime 612s # Created snap.yaml in /tmp/test_sandbox_0MR552/snap/current/meta/snap.yaml 612s ok 2 /sandbox/snap 612s ok - glib/sandbox.test 612s # Running test: glib/socket-address.test 612s ok - glib/socket-address.test 612s # Running test: glib/type-flags.test 612s ok - glib/type-flags.test 612s # Running test: glib/autoptr-girepository.test 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0MR552/sandbox/classic-snap/.dirs/runtime 612s # Created snap.yaml in /tmp/test_sandbox_0MR552/snap/current/meta/snap.yaml 612s ok 3 /sandbox/classic-snap 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/runtime 612s # Creating .flatpak-info in /tmp/test_sandbox_0MR552/sandbox/flatpak/.dirs/runtime/.flatpak-info 612s ok 4 /sandbox/flatpak 612s # End of sandbox tests 612s TAP version 14 612s # random seed: R02S9c1f0c982d54a5ed73248cae8fb435eb 612s 1..2 612s # Start of socket tests 612s # Start of address tests 612s # Start of unix tests 612s ok 1 /socket/address/unix/construct 612s ok 2 /socket/address/unix/to-string 612s # End of unix tests 612s # End of address tests 612s # End of socket tests 612s TAP version 14 612s # random seed: R02S5a819975334e4be4da45d7225f8e37f4 612s 1..4 612s # Start of type tests 612s # Start of flags tests 612s ok 1 /type/flags/interface 612s ok 2 /type/flags/final 612s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 612s ok 3 /type/flags/deprecated 612s # Start of final tests 612s ok 4 /type/flags/final/instance-check 612s # End of final tests 612s # End of flags tests 612s # End of type tests 612s TAP version 14 612s # random seed: R02S849b2ae2e10e9b60e59108505a3c5079 612s 1..24 612s # Start of autoptr tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/repository/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 1 /autoptr/repository 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/typelib/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 2 /autoptr/typelib 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/base-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 3 /autoptr/base-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/arg-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 4 /autoptr/arg-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/callable-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 5 /autoptr/callable-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/callback-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 6 /autoptr/callback-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/constant-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 7 /autoptr/constant-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/enum-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 8 /autoptr/enum-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/field-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 9 /autoptr/field-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/flags-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 10 /autoptr/flags-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/function-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 11 /autoptr/function-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/interface-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 12 /autoptr/interface-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/object-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 13 /autoptr/object-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/property-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 14 /autoptr/property-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/registered-type-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 15 /autoptr/registered-type-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/signal-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 16 /autoptr/signal-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/struct-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 17 /autoptr/struct-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/type-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 18 /autoptr/type-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/union-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 19 /autoptr/union-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/value-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 20 /autoptr/value-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/autoptr/vfunc-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 21 /autoptr/vfunc-info 612s # End of autoptr tests 612s # Start of auto tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/auto/arg-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 22 /auto/arg-info 612s ok - glib/autoptr-girepository.test 612s # Running test: glib/pathbuf.test 612s ok - glib/pathbuf.test 612s # Running test: glib/charset.test 612s ok - glib/charset.test 612s # Running test: glib/guuid.test 612s ok - glib/guuid.test 612s # Running test: glib/gdbus-names.test 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/auto/type-info/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 23 /auto/type-info 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RRE552/auto/function-invoker/.dirs/runtime 612s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 612s ok 24 /auto/function-invoker 612s # End of auto tests 612s TAP version 14 612s # random seed: R02S3771c2561fe6e05e599e900d23037d85 612s 1..3 612s # Start of pathbuf tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_9OG552/pathbuf/init/.dirs/runtime 612s # Initializing empty path buf 612s # Initializing with empty path 612s # Initializing with full path 612s # Initializing with no path 612s # Allocating GPathBuf on the heap 612s ok 1 /pathbuf/init 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_9OG552/pathbuf/push-pop/.dirs/runtime 612s # Pushing relative path component 612s # Pushing absolute path component 612s # Popping a path component 612s # Can't pop the last element of a path buffer 612s ok 2 /pathbuf/push-pop 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_9OG552/pathbuf/filename-extension/.dirs/runtime 612s ok 3 /pathbuf/filename-extension 612s # End of pathbuf tests 612s TAP version 14 612s # random seed: R02S7fcbb8cdd5461bddac23e4a304a76782 612s 1..2 612s # Start of charset tests 612s # Test 0 612s # Test 1 612s # Test 2 612s # Test 3 612s ok 1 /charset/language_names_with_category 612s ok 2 /charset/language_names_with_category_async 612s # End of charset tests 612s TAP version 14 612s # random seed: R02S3a894ea96e0b0c3bad33c92f84578b99 612s 1..2 612s # Start of uuid tests 612s ok 1 /uuid/string 612s ok 2 /uuid/random 612s # End of uuid tests 612s TAP version 14 612s # random seed: R02S5e045ba6eb44f99f58cba19b77e481be 612s 1..10 612s # Start of gdbus tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/validate-names/.dirs/runtime 612s ok 1 /gdbus/validate-names 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-own-name/.dirs/runtime 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s ok 2 /gdbus/bus-own-name 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name/.dirs/runtime 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s ok 3 /gdbus/bus-watch-name 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start/.dirs/runtime 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s ok 4 /gdbus/bus-watch-name-auto-start 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 613s dbus-daemon[10448]: [session uid=1000 pid=10448 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=10439 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 613s # Acquired a message bus connection 613s dbus-daemon[10448]: [session uid=1000 pid=10448 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 613s # Acquired the name org.gtk.GDBus.FakeService 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures/.dirs/runtime 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s ok 6 /gdbus/bus-watch-name-closures 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s ok 7 /gdbus/bus-watch-name-closures-auto-start 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-watch-different-context/.dirs/runtime 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s ok 8 /gdbus/bus-watch-different-context 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/bus-unwatch-early/.dirs/runtime 613s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s ok - glib/gdbus-names.test 613s # Running test: glib/gdbus-peer.test 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 613s ok 9 /gdbus/bus-unwatch-early 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_SHS352/gdbus/escape-object-path/.dirs/runtime 613s ok 10 /gdbus/escape-object-path 613s # End of gdbus tests 613s TAP version 14 613s # random seed: R02Se9a910224c564dfa583a95ca41acf10c 613s 1..12 613s # Start of gdbus tests 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/.dirs/runtime 613s # Testing with unix:dir address 613s # Testing with unix:tmpdir address 613s # Testing with unix:path address 613s ok 1 /gdbus/peer-to-peer 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/delayed-message-processing/.dirs/runtime 613s # Testing with unix:dir address 613s ok 2 /gdbus/delayed-message-processing 613s # slow test /gdbus/delayed-message-processing executed in 0.50 secs 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/nonce-tcp/.dirs/runtime 613s ok 3 /gdbus/nonce-tcp 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/tcp-anonymous/.dirs/runtime 613s ok 4 /gdbus/tcp-anonymous 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/credentials/.dirs/runtime 613s ok 5 /gdbus/credentials 613s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/home 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/cache 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/system-config2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/config 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/system-data2 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/data 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/state 613s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/codegen-peer-to-peer/.dirs/runtime 613s # Testing with unix:dir address 613s # Machine ID: b07d78c3235c4611a428d4f447ba9044 613s # Executing: glib/gdbus-peer.test 614s ok 6 /gdbus/codegen-peer-to-peer 614s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 614s # Start of peer-to-peer tests 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/signals/.dirs/runtime 614s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 614s # Testing with unix:dir address 614s ok 7 /gdbus/peer-to-peer/signals 614s # Start of invalid tests 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/server/.dirs/runtime 614s ok 8 /gdbus/peer-to-peer/invalid/server 614s # Start of conn tests 614s # Start of stream tests 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 614s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 614s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 614s # End of stream tests 614s # Start of addr tests 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 614s ok - glib/gdbus-peer.test 614s # Running test: glib/scannerapi.test 614s ok - glib/scannerapi.test 614s # Running test: glib/dynamictype.test 614s ok - glib/dynamictype.test 614s # Running test: glib/socket-service.test 614s ok - glib/socket-service.test 614s # Running test: glib/gobject-query.py.test 614s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_YW1352/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 614s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 614s # End of addr tests 614s # End of conn tests 614s # End of invalid tests 614s # End of peer-to-peer tests 614s # End of gdbus tests 614s TAP version 14 614s # random seed: R02Sd13a72ddb61049949c716cd04270a90e 614s 1..4 614s # Start of scanner tests 614s ok 1 /scanner/warn 614s ok 2 /scanner/error 614s ok 3 /scanner/symbols 614s ok 4 /scanner/tokens 614s # End of scanner tests 614s TAP version 14 614s # random seed: R02S7946ed332bd8a0575570faa6ede89d53 614s 1..2 614s # Start of gobject tests 614s ok 1 /gobject/dynamic-type 614s # Start of dynamic-type tests 614s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 614s ok 2 /gobject/dynamic-type/query 614s # End of dynamic-type tests 614s # End of gobject tests 614s TAP version 14 614s # random seed: R02S48a3d4b6d71fadfa4dac9d33a767ffe2 614s 1..4 614s # Start of socket-service tests 614s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 614s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5eb157045150 and GSocketClientAsyncConnectData 0x5eb15703fbc0 614s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 614s ok 1 /socket-service/start-stop 614s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5eb1570490f0 and GSocketClientAsyncConnectData 0x5eb157048d90 614s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 614s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 614s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5eb157049070 for GSocketClientAsyncConnectData 0x5eb15703fbc0 614s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 614s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 614s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 614s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 614s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 614s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5eb157049070 for GSocketClientAsyncConnectData 0x5eb157048d90 614s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 614s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 614s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 614s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 614s ok 2 /socket-service/read_write_async 614s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5eb1570490f0 and GSocketClientAsyncConnectData 0x5eb15704d100 614s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 614s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 614s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5eb15704c600 for GSocketClientAsyncConnectData 0x5eb15704d100 614s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 614s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 614s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 614s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 614s ok 3 /socket-service/read_writev_async 614s # Start of threaded tests 614s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 614s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5eb15704a740 and GSocketClientAsyncConnectData 0x5eb157048d90 614s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 614s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 614s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5eb15704dac0 for GSocketClientAsyncConnectData 0x5eb157048d90 614s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 614s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 614s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 614s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 614s ok 4 /socket-service/threaded/712570 614s # End of threaded tests 614s # End of socket-service tests 614s TAP version 13 614s ok 1 __main__.TestGobjectQuery.test_froots 614s # gobject-query: /usr/bin/gobject-query 614s # tmpdir: /tmp/tmpa6n22iyb 614s # Running: ['/usr/bin/gobject-query', 'froots'] 614s # Return code: 0 614s # Output: 614s # ├void 614s # ├GInterface 614s # │ â””GTypePlugin 614s # ├gchar 614s # ├guchar 614s # ├gboolean 614s # ├gint 614s # ├guint 614s # ├glong 614s # ├gulong 614s # ├gint64 614s # ├guint64 614s # ├GEnum 614s # ├GFlags 614s # ├gfloat 614s # ├gdouble 614s # ├gchararray 614s # ├gpointer 614s # │ â””GType 614s # ├GBoxed 614s # │ â””GValueArray 614s # ├GParam 614s # │ ├GParamChar 614s # │ ├GParamUChar 614s # │ ├GParamBoolean 614s # │ ├GParamInt 614s # │ ├GParamUInt 614s # │ ├GParamLong 614s # │ ├GParamULong 614s # │ ├GParamInt64 614s # │ ├GParamUInt64 614s # │ ├GParamUnichar 614s # │ ├GParamEnum 614s # │ ├GParamFlags 614s # │ ├GParamFloat 614s # │ ├GParamDouble 614s # │ ├GParamString 614s # │ ├GParamParam 614s # │ ├GParamBoxed 614s # │ ├GParamPointer 614s # │ ├GParamValueArray 614s # │ ├GParamObject 614s # │ ├GParamOverride 614s # │ ├GParamGType 614s # │ â””GParamVariant 614s # ├GObject 614s # â””GVariant 614s # Error: 614s ok 2 __main__.TestGobjectQuery.test_help 614s # gobject-query: /usr/bin/gobject-query 614s # tmpdir: /tmp/tmpws8ai8qt 614s # Running: ['/usr/bin/gobject-query', '--help'] 614s # Return code: 0 614s # Output: 614s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 614s # -r specify root type 614s # -n don't descend type tree 614s # -h show help 614s # -b specify indent string 614s # -i specify incremental indent string 614s # -s specify line spacing 614s # qualifiers: 614s # froots iterate over fundamental roots 614s # tree print type tree 614s # Error: 614s ok 3 __main__.TestGobjectQuery.test_tree 614s # gobject-query: /usr/bin/gobject-query 614s # tmpdir: /tmp/tmpypzlz1gb 614s # Running: ['/usr/bin/gobject-query', 'tree'] 614s # Return code: 0 614s # Output: 614s # GObject 614s # Error: 614s ok 4 __main__.TestGobjectQuery.test_version 614s # gobject-query: /usr/bin/gobject-query 614s # tmpdir: /tmp/tmp3hwovhf7 614s # Running: ['/usr/bin/gobject-query', '--version'] 614s # Return code: 0 614s # Output: 614s # 2.84.1 614s # Error: 614s 1..4 614s ok - glib/gobject-query.py.test 614s # Running test: glib/asyncqueue.test 614s TAP version 14 614s # random seed: R02Sfefb3590953547c21eb26662b76a4269 614s 1..7 614s # Start of asyncqueue tests 614s ok 1 /asyncqueue/basics 614s ok 2 /asyncqueue/sort 614s ok 3 /asyncqueue/destroy 614s ok 4 /asyncqueue/threads 615s ok 5 /asyncqueue/timed 615s ok 6 /asyncqueue/remove 615s ok 7 /asyncqueue/push_front 615s # End of asyncqueue tests 615s ok - glib/asyncqueue.test 615s # Running test: glib/converter-stream.test 615s TAP version 14 615s # random seed: R02S2d08908598a41421f56ccc87126c17d3 615s 1..17 615s # Start of converter tests 615s ok 1 /converter/basics 615s # End of converter tests 615s # Start of converter-input-stream tests 615s ok 2 /converter-input-stream/expander 615s ok 3 /converter-input-stream/compressor 615s # Start of truncation tests 615s ok 4 /converter-input-stream/truncation/zlib 615s ok 5 /converter-input-stream/truncation/gzip 615s ok 6 /converter-input-stream/truncation/raw 615s # End of truncation tests 615s # Start of charset tests 615s ok 7 /converter-input-stream/charset/utf8->latin1 615s ok 8 /converter-input-stream/charset/latin1->utf8 615s ok 9 /converter-input-stream/charset/fallbacks 615s # End of charset tests 615s # End of converter-input-stream tests 615s # Start of converter-output-stream tests 615s # Start of roundtrip tests 615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 615s ok 10 /converter-output-stream/roundtrip/zlib-0 615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 615s ok 11 /converter-output-stream/roundtrip/zlib-9 615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 615s ok 12 /converter-output-stream/roundtrip/gzip-0 615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 615s ok 13 /converter-output-stream/roundtrip/gzip-9 615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 615s ok 14 /converter-output-stream/roundtrip/raw-0 615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 616s ok 15 /converter-output-stream/roundtrip/raw-9 616s # End of roundtrip tests 616s # End of converter-output-stream tests 616s # Start of converter-stream tests 616s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 616s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x5c0a45f34870 and GSocketClientAsyncConnectData 0x5c0a45f316b0 616s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 616s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 616s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x5c0a45f3ab40 for GSocketClientAsyncConnectData 0x5c0a45f316b0 616s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 616s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 616s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 616s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 616s ok 16 /converter-stream/pollable 616s ok 17 /converter-stream/leftover 616s # End of converter-stream tests 616s ok - glib/converter-stream.test 616s # Running test: glib/node.test 616s TAP version 14 616s # random seed: R02S3206a05dbed4d9766f5c9ce38b945ae7 616s 1..6 616s # Start of node tests 616s ok 1 /node/allocation 616s ok 2 /node/construction 616s ok 3 /node/traversal 616s ok - glib/node.test 616s # Running test: glib/refstring.test 616s ok 4 /node/misc 616s ok 5 /node/unlink 616s ok 6 /node/copy 616s # End of node tests 616s TAP version 14 616s # random seed: R02Sc861b0ec852d33449c5c23f70d266687 616s 1..8 616s # Start of refstring tests 616s # s = 'hello, world' (0x5aec38d8e3d0) 616s ok 1 /refstring/base 616s ok 2 /refstring/length 616s ok 3 /refstring/length-auto 616s ok 4 /refstring/length-nuls 616s # s = 'hello, world' (0x5aec38d8e270) 616s # p = s = 'hello, world' (0x5aec38d8e270) 616s # releasing p[0x5aec38d8e270] ('hello, world') 616s # p = 'goodbye, world' (0x5aec38d8e3d0) 616s # releasing p[0x5aec38d8e3d0] ('goodbye, world') 616s # releasing s[0x5aec38d8e270] ('hello, world') 616s ok 5 /refstring/intern 616s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 616s ok 6 /refstring/hash_equal 616s # /refstring/equal summary: Test g_ref_string_equal() standalone 616s ok 7 /refstring/equal 616s ok 8 /refstring/intern-thread-safety 616s # End of refstring tests 616s ok - glib/refstring.test 616s # Running test: glib/closure-refcount.test 616s TAP version 14 616s # random seed: R02S8d1b48c63ddfae263654f906f66c72b1 616s 1..1 616s # Start of closure tests 616s # Init 0x5719e630dd60 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread2 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread1 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread1 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread2 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread1 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread2 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread1 616s # Yielding from thread2 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from thread1 616s # Yielding from main thread 616s # Yielding from thread2 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 616s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread2 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from main thread 617s # Yielding from thread1 617s # Yielding from main thread 617s # Stopping 617s # Stopped 617s ok 1 /closure/refcount 617s # slow test /closure/refcount executed in 1.59 secs 617s # End of closure tests 617s ok - glib/closure-refcount.test 617s # Running test: glib/gdbus-message.test 617s TAP version 14 617s # random seed: R02Se51f2452633e1f7a2a19b4b47dabb3cc 617s 1..3 617s # Start of gdbus tests 617s # Start of message tests 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_VOY352/gdbus/message/lock/.dirs/runtime 618s ok 1 /gdbus/message/lock 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_VOY352/gdbus/message/copy/.dirs/runtime 618s ok 2 /gdbus/message/copy 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_VOY352/gdbus/message/bytes-needed/.dirs/runtime 618s # Vector: 0 618s # Vector: 1 618s # Vector: 2 618s # Vector: 3 618s # Vector: 4 618s # Vector: 5 618s ok 3 /gdbus/message/bytes-needed 618s # End of message tests 618s # End of gdbus tests 618s ok - glib/gdbus-message.test 618s # Running test: glib/unicode.test 618s TAP version 14 618s # random seed: R02S3e983e2c3161ffe4969aff758ca03247 618s 1..39 618s # Start of unicode tests 618s ok 1 /unicode/alnum 618s ok 2 /unicode/alpha 618s ok 3 /unicode/break-type 618s ok 4 /unicode/canonical-decomposition 618s ok 5 /unicode/casefold 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s # Cannot set locale to lt_LT, skipping 618s ok 6 /unicode/casemap_and_casefold 618s ok 7 /unicode/cases 618s ok 8 /unicode/character-type 618s ok 9 /unicode/cntrl 618s ok 10 /unicode/combining-class 618s # Composing U+000041 and U+000042; expecting U+000000 618s # Composing U+000041 and U+000000; expecting U+000000 618s # Composing U+000066 and U+000069; expecting U+000000 618s # Composing U+000308 and U+000301; expecting U+000000 618s # Composing U+000f71 and U+000f72; expecting U+000000 618s # Composing U+00212b and U+000000; expecting U+000000 618s # Composing U+0000c5 and U+000000; expecting U+000000 618s # Composing U+002126 and U+000000; expecting U+000000 618s # Composing U+0003a9 and U+000000; expecting U+000000 618s # Composing U+000041 and U+00030a; expecting U+0000c5 618s # Composing U+00006f and U+000302; expecting U+0000f4 618s # Composing U+001e63 and U+000307; expecting U+001e69 618s # Composing U+000073 and U+000323; expecting U+001e63 618s # Composing U+000064 and U+000307; expecting U+001e0b 618s # Composing U+000064 and U+000323; expecting U+001e0d 618s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 618s # Composing U+001111 and U+001171; expecting U+00d4cc 618s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 618s # Composing U+00110e and U+001173; expecting U+00ce20 618s # Composing U+001100 and U+001160; expecting U+000000 618s # Composing U+001100 and U+001177; expecting U+000000 618s # Composing U+00abff and U+0011b6; expecting U+000000 618s # Composing U+00d7a5 and U+0011b6; expecting U+000000 618s # Composing U+00ac01 and U+0011b6; expecting U+000000 618s # Composing U+00d4cc and U+0011a6; expecting U+000000 618s # Composing U+00d4cc and U+0011c4; expecting U+000000 618s # Composing U+01611e and U+01611e; expecting U+016121 618s # Composing U+01611e and U+01611f; expecting U+016123 618s # Composing U+0000f6 and U+000304; expecting U+00022b 618s # Composing U+000b47 and U+000b57; expecting U+000b4c 618s # Composing U+0000a0 and U+000b57; expecting U+000000 618s # Composing U+016e00 and U+00030a; expecting U+000000 618s # Composing U+00212b and U+016e00; expecting U+000000 618s # Composing U+001e63 and U+000306; expecting U+000000 618s # Composing U+001e63 and U+000304; expecting U+000000 618s # Composing U+001e63 and U+000b57; expecting U+000000 618s # Composing U+001e63 and U+000000; expecting U+000000 618s # Composing U+001e63 and U+0113c2; expecting U+000000 618s # Composing U+001f01 and U+0113c2; expecting U+000000 618s # Composing U+00006e and U+000302; expecting U+000000 618s # Composing U+001e63 and U+01611f; expecting U+000000 618s # Composing U+01138e and U+0113b8; expecting U+000000 618s # Composing U+01611e and U+000000; expecting U+000000 618s # Composing U+000000 and U+01611f; expecting U+000000 618s # Composing U+011390 and U+0113c2; expecting U+000000 618s ok 11 /unicode/compose 618s ok 12 /unicode/decompose 618s ok 13 /unicode/decompose-tail 618s ok 14 /unicode/defined 618s ok 15 /unicode/digit 618s ok 16 /unicode/digit-value 618s # Fully decomposing U+000041; expecting 1 codepoints 618s # Fully decomposing U+00fb01; expecting 1 codepoints 618s # Fully decomposing U+00212b; expecting 2 codepoints 618s # Fully decomposing U+002126; expecting 1 codepoints 618s # Fully decomposing U+000344; expecting 2 codepoints 618s # Fully decomposing U+000f73; expecting 2 codepoints 618s # Fully decomposing U+0000c5; expecting 2 codepoints 618s # Fully decomposing U+0000f4; expecting 2 codepoints 618s # Fully decomposing U+001e69; expecting 3 codepoints 618s # Fully decomposing U+001e63; expecting 2 codepoints 618s # Fully decomposing U+001e0b; expecting 2 codepoints 618s # Fully decomposing U+001e0d; expecting 2 codepoints 618s # Fully decomposing U+00d4db; expecting 3 codepoints 618s # Fully decomposing U+00d4cc; expecting 2 codepoints 618s # Fully decomposing U+00ce31; expecting 3 codepoints 618s # Fully decomposing U+00ce20; expecting 2 codepoints 618s ok 17 /unicode/fully-decompose-canonical 618s ok 18 /unicode/fully-decompose-len 618s ok 19 /unicode/normalization 618s ok 20 /unicode/graph 618s # Testing script Zyyy (code 1517910393) 618s # Testing script Zinh (code 1516858984) 618s # Testing script Zmth (code 1517122664) 618s # Testing script Arab (code 1098015074) 618s # Testing script Armn (code 1098018158) 618s # Testing script Beng (code 1113943655) 618s # Testing script Bopo (code 1114599535) 618s # Testing script Cher (code 1130915186) 618s # Testing script Copt (code 1131376756) 618s # Testing script Cyrl (code 1132032620) 618s # Testing script Dsrt (code 1148416628) 618s # Testing script Deva (code 1147500129) 618s # Testing script Ethi (code 1165256809) 618s # Testing script Geor (code 1197830002) 618s # Testing script Goth (code 1198486632) 618s # Testing script Grek (code 1198679403) 618s # Testing script Gujr (code 1198877298) 618s # Testing script Guru (code 1198879349) 618s # Testing script Hani (code 1214344809) 618s # Testing script Hang (code 1214344807) 618s # Testing script Hebr (code 1214603890) 618s # Testing script Hira (code 1214870113) 618s # Testing script Knda (code 1265525857) 618s # Testing script Kana (code 1264676449) 618s # Testing script Khmr (code 1265134962) 618s # Testing script Laoo (code 1281453935) 618s # Testing script Latn (code 1281455214) 618s # Testing script Mlym (code 1298954605) 618s # Testing script Mong (code 1299148391) 618s # Testing script Mymr (code 1299803506) 618s # Testing script Ogam (code 1332175213) 618s # Testing script Ital (code 1232363884) 618s # Testing script Orya (code 1332902241) 618s # Testing script Runr (code 1383427698) 618s # Testing script Sinh (code 1399418472) 618s # Testing script Syrc (code 1400468067) 618s # Testing script Taml (code 1415671148) 618s # Testing script Telu (code 1415933045) 618s # Testing script Thaa (code 1416126817) 618s # Testing script Thai (code 1416126825) 618s # Testing script Tibt (code 1416192628) 618s # Testing script Cans (code 1130458739) 618s # Testing script Yiii (code 1500080489) 618s # Testing script Tglg (code 1416064103) 618s # Testing script Hano (code 1214344815) 618s # Testing script Buhd (code 1114990692) 618s # Testing script Tagb (code 1415669602) 618s # Testing script Brai (code 1114792297) 618s # Testing script Cprt (code 1131442804) 618s # Testing script Limb (code 1281977698) 618s # Testing script Osma (code 1332964705) 618s # Testing script Shaw (code 1399349623) 618s # Testing script Linb (code 1281977954) 618s # Testing script Tale (code 1415670885) 618s # Testing script Ugar (code 1432838514) 618s # Testing script Talu (code 1415670901) 618s # Testing script Bugi (code 1114990441) 618s # Testing script Glag (code 1198285159) 618s # Testing script Tfng (code 1415999079) 618s # Testing script Sylo (code 1400466543) 618s # Testing script Xpeo (code 1483761007) 618s # Testing script Khar (code 1265131890) 618s # Testing script Zzzz (code 1517976186) 618s # Testing script Bali (code 1113681001) 618s # Testing script Xsux (code 1483961720) 618s # Testing script Phnx (code 1349021304) 618s # Testing script Phag (code 1349017959) 618s # Testing script Nkoo (code 1315663727) 618s # Testing script Kali (code 1264675945) 618s # Testing script Lepc (code 1281716323) 618s # Testing script Rjng (code 1382706791) 618s # Testing script Sund (code 1400204900) 618s # Testing script Saur (code 1398895986) 618s # Testing script Cham (code 1130914157) 618s # Testing script Olck (code 1332503403) 618s # Testing script Vaii (code 1449224553) 618s # Testing script Cari (code 1130459753) 618s # Testing script Lyci (code 1283023721) 618s # Testing script Lydi (code 1283023977) 618s # Testing script Avst (code 1098281844) 618s # Testing script Bamu (code 1113681269) 618s # Testing script Egyp (code 1164409200) 618s # Testing script Armi (code 1098018153) 618s # Testing script Phli (code 1349020777) 618s # Testing script Prti (code 1349678185) 618s # Testing script Java (code 1247901281) 618s # Testing script Kthi (code 1265920105) 618s # Testing script Lisu (code 1281979253) 618s # Testing script Mtei (code 1299473769) 618s ok - glib/unicode.test 618s # Running test: glib/memory-output-stream.test 618s ok - glib/memory-output-stream.test 618s # Running test: glib/portal-support-snap-classic.test 618s # Testing script Sarb (code 1398895202) 618s # Testing script Orkh (code 1332898664) 618s # Testing script Samr (code 1398893938) 618s # Testing script Lana (code 1281453665) 618s # Testing script Tavt (code 1415673460) 618s # Testing script Batk (code 1113683051) 618s # Testing script Brah (code 1114792296) 618s # Testing script Mand (code 1298230884) 618s # Testing script Cakm (code 1130457965) 618s # Testing script Merc (code 1298494051) 618s # Testing script Mero (code 1298494063) 618s # Testing script Plrd (code 1349284452) 618s # Testing script Shrd (code 1399353956) 618s # Testing script Sora (code 1399812705) 618s # Testing script Takr (code 1415670642) 618s # Testing script Bass (code 1113682803) 618s # Testing script Aghb (code 1097295970) 618s # Testing script Dupl (code 1148547180) 618s # Testing script Elba (code 1164730977) 618s # Testing script Gran (code 1198678382) 618s # Testing script Khoj (code 1265135466) 618s # Testing script Sind (code 1399418468) 618s # Testing script Lina (code 1281977953) 618s # Testing script Mahj (code 1298229354) 618s # Testing script Mani (code 1298230889) 618s # Testing script Mend (code 1298493028) 618s # Testing script Modi (code 1299145833) 618s # Testing script Mroo (code 1299345263) 618s # Testing script Nbat (code 1315070324) 618s # Testing script Narb (code 1315009122) 618s # Testing script Perm (code 1348825709) 618s # Testing script Hmng (code 1215131239) 618s # Testing script Palm (code 1348562029) 618s # Testing script Pauc (code 1348564323) 618s # Testing script Phlp (code 1349020784) 618s # Testing script Sidd (code 1399415908) 618s # Testing script Tirh (code 1416196712) 618s # Testing script Wara (code 1466004065) 618s # Testing script Ahom (code 1097363309) 618s # Testing script Hluw (code 1215067511) 618s # Testing script Hatr (code 1214346354) 618s # Testing script Mult (code 1299541108) 618s # Testing script Hung (code 1215655527) 618s # Testing script Sgnw (code 1399287415) 618s # Testing script Adlm (code 1097100397) 618s # Testing script Bhks (code 1114139507) 618s # Testing script Marc (code 1298231907) 618s # Testing script Newa (code 1315272545) 618s # Testing script Osge (code 1332963173) 618s # Testing script Tang (code 1415671399) 618s # Testing script Gonm (code 1198485101) 618s # Testing script Nshu (code 1316186229) 618s # Testing script Soyo (code 1399814511) 618s # Testing script Zanb (code 1516334690) 618s # Testing script Dogr (code 1148151666) 618s # Testing script Gong (code 1198485095) 618s # Testing script Rohg (code 1383032935) 618s # Testing script Maka (code 1298230113) 618s # Testing script Medf (code 1298490470) 618s # Testing script Sogo (code 1399809903) 618s # Testing script Sogd (code 1399809892) 618s # Testing script Elym (code 1164736877) 618s # Testing script Nand (code 1315008100) 618s # Testing script Hmnp (code 1215131248) 618s # Testing script Wcho (code 1466132591) 618s # Testing script Chrs (code 1130918515) 618s # Testing script Diak (code 1147756907) 618s # Testing script Kits (code 1265202291) 618s # Testing script Yezi (code 1499822697) 618s # Testing script Cpmn (code 1131441518) 618s # Testing script Ougr (code 1333094258) 618s # Testing script Tnsa (code 1416524641) 618s # Testing script Toto (code 1416590447) 618s # Testing script Vith (code 1449751656) 618s # Testing script Kawi (code 1264678761) 618s # Testing script Nagm (code 1315006317) 618s # Testing script Todr (code 1416586354) 618s # Testing script Gara (code 1197568609) 618s # Testing script Tutg (code 1416983655) 618s # Testing script Sunu (code 1400204917) 618s # Testing script Gukh (code 1198877544) 618s # Testing script Krai (code 1265787241) 618s # Testing script Onao (code 1332633967) 618s ok 21 /unicode/iso15924 618s ok 22 /unicode/lower 618s ok 23 /unicode/mark 618s ok 24 /unicode/mirror 618s ok 25 /unicode/print 618s ok 26 /unicode/punctuation 618s ok 27 /unicode/script 618s ok 28 /unicode/space 618s ok 29 /unicode/strdown 618s ok 30 /unicode/strup 618s ok 31 /unicode/turkish-strupdown 618s ok 32 /unicode/title 618s ok 33 /unicode/upper 618s ok 34 /unicode/validate 618s ok 35 /unicode/wide 618s ok 36 /unicode/xdigit 618s ok 37 /unicode/xdigit-value 618s ok 38 /unicode/zero-width 618s ok 39 /unicode/normalize 618s # End of unicode tests 618s TAP version 14 618s # random seed: R02Sa8b44efef190dc31c4148740dcb3fe12 618s 1..10 618s # Start of memory-output-stream tests 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 618s ok 1 /memory-output-stream/truncate 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 618s ok 2 /memory-output-stream/get-data-size 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 618s ok 3 /memory-output-stream/properties 618s ok 4 /memory-output-stream/write-bytes 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 618s ok 5 /memory-output-stream/write-null 618s ok 6 /memory-output-stream/writev 618s ok 7 /memory-output-stream/writev_nonblocking 618s ok 8 /memory-output-stream/steal_as_bytes 618s # Start of seek tests 618s ok 9 /memory-output-stream/seek/fixed 618s ok 10 /memory-output-stream/seek/resizable 618s # End of seek tests 618s # End of memory-output-stream tests 618s TAP version 14 618s # random seed: R02S25e0de055e4fd559d9d2b1cd817cfc6c 618s 1..3 618s # Start of portal-support tests 618s # Start of snap-classic tests 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl/.dirs/runtime 618s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/no-snapctl: No such file or directory 618s ok 1 /portal-support/snap-classic/no-snapctl 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/config 618s ok - glib/portal-support-snap-classic.test 618s # Running test: glib/utils-c-99.test 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/runtime 618s # Created snap.yaml in /tmp/test_portal-support-snap-classic_HCJ052/meta/snap.yaml 618s # Created snapctl in /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none/.dirs/runtime/snapctl 618s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/none: No such file or directory 618s ok 2 /portal-support/snap-classic/none 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/runtime 618s # Created snap.yaml in /tmp/test_portal-support-snap-classic_HCJ052/meta/snap.yaml 618s # Created snapctl in /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all/.dirs/runtime/snapctl 618s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_HCJ052/portal-support/snap-classic/all: No such file or directory 618s ok 3 /portal-support/snap-classic/all 618s # End of snap-classic tests 618s # End of portal-support tests 618s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_HCJ052: No such file or directory 618s TAP version 14 618s # random seed: R02S29767479d06f522b85e9307b23e70d98 618s 1..41 618s # Start of utils tests 618s ok 1 /utils/language-names 618s ok 2 /utils/locale-variants 618s ok 3 /utils/version 618s ok 4 /utils/appname 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 618s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 618s ok 5 /utils/prgname-thread-safety 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 618s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 618s ok 6 /utils/tmpdir 618s ok 7 /utils/basic_bits 618s ok 8 /utils/bits 618s ok 9 /utils/swap 618s ok 10 /utils/find-program 618s ok 11 /utils/find-program-for-path 618s ok 12 /utils/debug 618s ok 13 /utils/codeset 618s ok 14 /utils/codeset2 618s ok 15 /utils/console-charset 618s ok 16 /utils/gettext 618s ok 17 /utils/username 618s ok 18 /utils/realname 618s ok 19 /utils/hostname 618s ok 20 /utils/xdgdirs 618s ok 21 /utils/specialdir 618s # NAME: Ubuntu 618s ok 22 /utils/os-info 618s ok 23 /utils/clear-pointer 618s ok 24 /utils/clear-pointer-cast 618s ok 25 /utils/take-pointer 618s ok 26 /utils/clear-source 618s ok 27 /utils/misc-mem 618s # /utils/aligned-mem summary: Aligned memory allocator 618s # Alignment must not be zero 618s # Alignment must be a power of two 618s # Alignment must be a multiple of sizeof(void*) 618s ok 28 /utils/aligned-mem 618s # /utils/free-sized summary: Check that g_free_sized() works 618s ok 29 /utils/free-sized 618s ok 30 /utils/nullify 618s ok 31 /utils/atexit 618s ok 32 /utils/check-setuid 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 618s ok 33 /utils/int-limits 618s ok 34 /utils/clear-list 618s ok 35 /utils/clear-slist 618s ok 36 /utils/steal-handle-id 618s # Start of specialdir tests 618s ok 37 /utils/specialdir/desktop 618s # End of specialdir tests 618s # Start of clear-pointer tests 618s ok 38 /utils/clear-pointer/side-effects 618s # End of clear-pointer tests 618s # Start of aligned-mem tests 618s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 618s ok 39 /utils/aligned-mem/alignment 618s ok - glib/utils-c-99.test 618s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 618s ok 40 /utils/aligned-mem/zeroed 618s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 618s ok 41 /utils/aligned-mem/free-sized 618s # Start of subprocess tests 618s # End of subprocess tests 618s # End of aligned-mem tests 618s # End of utils tests 618s # Running test: glib/hash.test 618s TAP version 14 618s # random seed: R02S981ccb80e300bc965bbca57f1d74b57a 618s 1..34 618s # Start of hash tests 618s ok 1 /hash/misc 618s ok 2 /hash/one 618s ok 3 /hash/honeyman 618s ok 4 /hash/direct 618s ok 5 /hash/direct2 618s ok 6 /hash/int 618s ok 7 /hash/int64 618s ok 8 /hash/double 618s ok 9 /hash/string 618s ok 10 /hash/set 618s ok 11 /hash/set-ref 618s ok 12 /hash/ref 618s ok 13 /hash/remove-all 618s ok 14 /hash/recursive-remove-all 618s ok 15 /hash/find 618s ok 16 /hash/foreach 618s ok 17 /hash/foreach-steal 618s ok 18 /hash/steal-extended 618s ok 19 /hash/steal-all-keys 618s ok 20 /hash/steal-all-values 618s ok 21 /hash/lookup-extended 618s ok 22 /hash/new-similar 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 618s ok 23 /hash/lookup-null-key 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 618s ok 24 /hash/destroy-modify 618s ok 25 /hash/consistency 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 618s ok 26 /hash/iter-replace 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 618s ok 27 /hash/set-insert-corruption 618s ok 28 /hash/set-to-strv 618s ok 29 /hash/get-keys-as-ptr-array 618s ok 30 /hash/get-values-as-ptr-array 618s ok 31 /hash/primes 618s # Start of int64 tests 618s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 618s ok 32 /hash/int64/collisions 618s # End of int64 tests 618s # Start of double tests 618s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 618s ok 33 /hash/double/collisions 618s # End of double tests 618s # Start of recursive-remove-all tests 618s # End of recursive-remove-all tests 618s # Start of steal-extended tests 618s ok - glib/hash.test 618s # Running test: glib/spawn-singlethread.test 618s ok 34 /hash/steal-extended/optional 618s # End of steal-extended tests 618s # End of hash tests 618s TAP version 14 618s # random seed: R02Sa6a5e180d13cf3f9b209c7bb92416679 618s 1..9 618s # Start of gthread tests 618s ok 1 /gthread/spawn-single-sync 618s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 618s ok 2 /gthread/spawn-stderr-socket 618s ok 3 /gthread/spawn-single-async 618s # thread 1 618s # thread 1 618s ok 4 /gthread/spawn-single-async-with-fds 618s ok 5 /gthread/spawn-async-with-invalid-fds 618s ok 6 /gthread/spawn-script 618s ok 7 /gthread/spawn-posix-spawn 618s # Start of spawn tests 618s ok 8 /gthread/spawn/nonexistent 618s # FD map: 618s # • 5 → 15 618s # • 6 → 16 618s # • 7 → 17 618s # • 8 → 18 618s # • 9 → 19 618s # • 10 → 20 618s # • 11 → 21 618s # • 12 → 22 618s # • 13 → 23 618s # • 3 → 13 618s ok 9 /gthread/spawn/fd-assignment-clash 618s # End of spawn tests 618s ok - glib/spawn-singlethread.test 618s # Running test: glib/logging.test 618s # End of gthread tests 618s TAP version 14 618s # random seed: R02Sa1910c7786aec6ec25bf1581281aad66 618s 1..17 618s # Start of logging tests 618s ok 1 /logging/default-handler 618s # slow test /logging/default-handler executed in 0.56 secs 618s ok 2 /logging/warnings 618s ok 3 /logging/fatal-log-mask 618s # bu-DEBUG: message 618s # ba-DEBUG: message 618s # ba-INFO: message 618s ok 4 /logging/set-handler 618s ok 5 /logging/print-handler 618s ok 6 /logging/printerr-handler 618s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 618s # The Log Message Handler 618s # 618s # The Good Fail Message Handler 618s # 618s ok 7 /logging/653052 618s ok 8 /logging/gibberish 618s # Start of default-handler tests 618s # Start of subprocess tests 618s # End of subprocess tests 618s # End of default-handler tests 618s # End of logging tests 618s # Start of structured-logging tests 618s ok 9 /structured-logging/no-state 618s ok 10 /structured-logging/some-state 618s ok 11 /structured-logging/robustness 618s ok 12 /structured-logging/roundtrip1 618s ok 13 /structured-logging/roundtrip2 618s ok 14 /structured-logging/roundtrip3 618s ok 15 /structured-logging/variant1 618s ok 16 /structured-logging/variant2 618s ok 17 /structured-logging/set-writer-func-twice 618s # End of structured-logging tests 618s ok - glib/logging.test 618s # Running test: glib/gdbus-peer-object-manager.test 618s TAP version 14 618s # random seed: R02S8b30cfcb8948c146dc4cc8cb33d9bc4c 618s 1..2 618s # Start of gdbus tests 618s # Start of peer-object-manager tests 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/normal/.dirs/runtime 618s ok 1 /gdbus/peer-object-manager/normal 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MXC952/gdbus/peer-object-manager/root/.dirs/runtime 618s ok 2 /gdbus/peer-object-manager/root 618s # End of peer-object-manager tests 618s # End of gdbus tests 618s ok - glib/gdbus-peer-object-manager.test 618s # Running test: glib/debugcontroller.test 618s TAP version 14 618s # random seed: R02Sd6fef4dc7f3bf8e0951ab9852df31f79 618s 1..3 618s # Start of debug-controller tests 618s # Start of dbus tests 618s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 618s # GLib-GIO-DEBUG: Debug output enabled 618s # GLib-GIO-DEBUG: Debug output disabled 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s ok 1 /debug-controller/dbus/basic 618s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 618s ok 2 /debug-controller/dbus/duplicate 618s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 618s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 618s # End of dbus tests 618s # End of debug-controller tests 618s ok - glib/debugcontroller.test 618s # Running test: glib/dynamictests.test 618s TAP version 14 618s # random seed: R02S14be7153bdb43e625b639b751db0fa6e 618s 1..2 618s # Start of GObject tests 618s ok 1 /GObject/threaded-dynamic-ref-unref-init 618s ok - glib/dynamictests.test 618s ok 2 /GObject/dynamic-interface-properties 618s # End of GObject tests 618s # Running test: glib/messages-low-memory.py.test 618s TAP version 13 618s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 618s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 618s # tmpdir: /tmp/tmpl0rwt_mg 618s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 618s # Return code: -6 618s # Output: 618s # 618s # Error: 618s # GLib-Message: 12:26:35.766: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 618s # GLib-Message: 12:26:35.766: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 618s # ../../../glib/gprintf.c:350: failed to allocate memory 618s 1..1 618s ok - glib/messages-low-memory.py.test 618s # Running test: glib/portal-support-flatpak-full.test 618s TAP version 14 618s # random seed: R02S018274c8d9cf8c20bf37c9e1767a773b 618s 1..1 618s # Start of portal-support tests 618s # Start of flatpak tests 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/runtime 618s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_WIF852/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 618s ok 1 /portal-support/flatpak/full 618s # End of flatpak tests 618s # End of portal-support tests 618s ok - glib/portal-support-flatpak-full.test 618s # Running test: glib/queue.test 618s TAP version 14 618s # random seed: R02S9a12c0eb8ebbe2b7033fa384a9b2affb 618s 1..12 618s # Start of queue tests 618s ok 1 /queue/basic 618s ok 2 /queue/copy 618s ok 3 /queue/off-by-one 618s ok 4 /queue/find-custom 618s ok 5 /queue/static 618s ok 6 /queue/clear 618s ok 7 /queue/free-full 618s ok 8 /queue/clear-full 618s ok 9 /queue/insert-sibling-link 618s ok 10 /queue/push-nth-link 618s # Start of clear-full tests 618s ok 11 /queue/clear-full/noop 618s # End of clear-full tests 618s # Start of random tests 618s ok 12 /queue/random/seed:171207408 618s # End of random tests 618s # End of queue tests 618s ok - glib/queue.test 618s # Running test: glib/mapping.test 618s TAP version 14 618s # random seed: R02Sea197785f7d22959dfff91ef743689b2 618s 1..3 618s # Start of mapping tests 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_RHK552/mapping/flags/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_RHK552/mapping/flags/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_RHK552/mapping/flags/.dirs/system-config1:/tmp/test_mapping_RHK552/mapping/flags/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_RHK552/mapping/flags/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_RHK552/mapping/flags/.dirs/system-data1:/tmp/test_mapping_RHK552/mapping/flags/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_RHK552/mapping/flags/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_RHK552/mapping/flags/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_RHK552/mapping/flags/.dirs/runtime 618s # test_mapping: ok 618s ok 1 /mapping/flags 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_RHK552/mapping/private/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_RHK552/mapping/private/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_RHK552/mapping/private/.dirs/system-config1:/tmp/test_mapping_RHK552/mapping/private/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_RHK552/mapping/private/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_RHK552/mapping/private/.dirs/system-data1:/tmp/test_mapping_RHK552/mapping/private/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_RHK552/mapping/private/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_RHK552/mapping/private/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_RHK552/mapping/private/.dirs/runtime 618s ok 2 /mapping/private 618s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/home 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/cache 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_RHK552/mapping/private-child/.dirs/system-config2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/config 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_RHK552/mapping/private-child/.dirs/system-data2 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/data 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/state 618s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_RHK552/mapping/private-child/.dirs/runtime 618s # test_child_private: child spawned 618s # Subtest: /usr/libexec/installed-tests/glib/mapping 618s # random seed: R02S5f7458be5a4408fe21bbeb03997b7fde 618s # test_child_private: received first child signal 618s # test_child_private: received parent signal 618s # Child exited with status 0 618s # test_child_private: received second child signal 618s ok 3 /mapping/private-child 618s # End of mapping tests 618s ok - glib/mapping.test 618s # Running test: glib/signals-refcount2.test 618s TAP version 14 618s # random seed: R02S1b17db31f0327abf103beb95ff191c0a 618s 1..1 618s # Start of gobject tests 618s # Start of refcount tests 618s # init 0x585171040dd0 618s # 618s # init 0x58517103d310 618s # 618s # Executing: glib/signals-refcount2.test 623s # dispose 0x585171040dd0! 623s # 623s # dispose 0x58517103d310! 623s # 623s ok 1 /gobject/refcount/signals 623s # slow test /gobject/refcount/signals executed in 5.00 secs 623s # End of refcount tests 623s # End of gobject tests 623s ok - glib/signals-refcount2.test 623s # Running test: glib/tree.test 623s TAP version 14 623s # random seed: R02S3e7cd9232d6205b610f6ea3f356fc45c 623s 1..7 623s # Start of tree tests 623s ok 1 /tree/search 623s ok 2 /tree/remove 623s ok 3 /tree/destroy 623s ok 4 /tree/traverse 623s ok 5 /tree/insert 623s ok 6 /tree/bounds 623s ok 7 /tree/remove-all 623s # End of tree tests 624s ok - glib/tree.test 624s # Running test: glib/async-close-output-stream.test 624s ok - glib/async-close-output-stream.test 624s # Running test: glib/macros-c-89.test 624s ok - glib/macros-c-89.test 624s # Running test: glib/refcount-macro.test 624s ok - glib/refcount-macro.test 624s # Running test: glib/param.test 624s # Executing: glib/param.test 624s TAP version 14 624s # random seed: R02S67dc51905a4fb795ed21f59e14246423 624s 1..3 624s # Start of close-async tests 624s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 624s ok 1 /close-async/without-flush 624s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 624s ok 2 /close-async/with-flush 624s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 624s ok 3 /close-async/with-async-flush 624s # End of close-async tests 624s TAP version 14 624s # random seed: R02S2cdabff486a6131e506bc28305d18499 624s 1..4 624s # Start of C tests 624s ok 1 /C/standard-89 624s # End of C tests 624s # Start of alignof tests 624s ok 2 /alignof/fallback 624s # End of alignof tests 624s # Start of assert tests 624s ok 3 /assert/static 624s # End of assert tests 624s # Start of struct tests 624s ok 4 /struct/sizeof_member 624s # End of struct tests 624s TAP version 14 624s # random seed: R02S83e0d28d73d63e5fa0aed1e1a44e0b48 624s 1..4 624s # Start of refcount tests 624s ok 1 /refcount/grefcount 624s ok 2 /refcount/gatomicrefcount 624s # Start of grefcount tests 624s ok 3 /refcount/grefcount/saturation 624s # End of grefcount tests 624s # Start of gatomicrefcount tests 624s ok 4 /refcount/gatomicrefcount/saturation 624s # End of gatomicrefcount tests 624s # End of refcount tests 624s TAP version 14 624s # random seed: R02S911102b845574048351352b2b38d2546 624s 1..32 624s # Start of param tests 624s ok 1 /param/value 624s ok 2 /param/strings 624s ok 3 /param/qdata 624s ok 4 /param/validate 624s ok 5 /param/convert 624s ok 6 /param/implement # SKIP Skipping slow /param/implement test 624s ok 7 /param/default 624s ok 8 /param/is-valid-name 624s # Start of invalid-name tests 624s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 624s ok 9 /param/invalid-name/colon 624s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 624s ok 10 /param/invalid-name/first-char 624s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 624s ok 11 /param/invalid-name/empty 624s # End of invalid-name tests 624s # Start of implement tests 624s # Start of subprocess tests 624s # End of subprocess tests 624s # End of implement tests 624s # End of param tests 624s # Start of value tests 624s ok 12 /value/transform 624s # End of value tests 624s # Start of paramspec tests 624s ok 13 /paramspec/char 624s ok 14 /paramspec/uchar 624s ok 15 /paramspec/int 624s ok 16 /paramspec/uint 624s ok 17 /paramspec/long 624s ok 18 /paramspec/ulong 624s ok 19 /paramspec/int64 624s ok 20 /paramspec/uint64 624s ok 21 /paramspec/float 624s ok 22 /paramspec/double 624s ok 23 /paramspec/unichar 624s ok 24 /paramspec/param 624s ok 25 /paramspec/null-param 624s ok 26 /paramspec/string 624s ok 27 /paramspec/override 624s ok 28 /paramspec/gtype 624s ok 29 /paramspec/variant 624s ok 30 /paramspec/custom 624s ok 31 /paramspec/pool 624s # Start of variant tests 624s ok 32 /paramspec/variant/cmp 624s # End of variant tests 624s # End of paramspec tests 624s ok - glib/param.test 624s # Running test: glib/static-link.test 624s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 624s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 624s and make sure you have glib build dependencies installed, including 624s meson. 624s ok # SKIP - glib/static-link.test 624s # Running test: glib/properties-refcount3.test 624s TAP version 14 624s # random seed: R02Sd7beaf27aae4d81f9a3935816cec6c02 624s 1..1 624s # Start of gobject tests 624s # Start of refcount tests 628s # Executing: glib/properties-refcount3.test 633s # Executing: glib/properties-refcount3.test 638s # Executing: glib/properties-refcount3.test 643s # Executing: glib/properties-refcount3.test 648s # Executing: glib/properties-refcount3.test 653s # Executing: glib/properties-refcount3.test 654s # 654s # stopping 654s # 654s # stopped 654s # 654s # 31504335 1077459 654s # 654s ok 1 /gobject/refcount/properties-3 654s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 654s # End of refcount tests 654s # End of gobject tests 654s ok - glib/properties-refcount3.test 654s # Running test: glib/option-argv0.test 654s TAP version 14 654s # random seed: R02Sa963b3d890e66f5b50ca25d544e74b05 654s 1..1 654s # Start of option tests 654s ok 1 /option/argv0 654s # End of option tests 654s ok - glib/option-argv0.test 654s # Running test: glib/shell.test 654s ok - glib/shell.test 654s # Running test: glib/mimeapps.test 654s TAP version 14 654s # random seed: R02S7138a4b48b065556583d61348b50bbba 654s 1..51 654s # Start of shell tests 654s # Start of cmdline tests 654s test cmdline: foo bar 654s ok 1 /shell/cmdline/0 654s test cmdline: foo 'bar' 654s ok 2 /shell/cmdline/1 654s test cmdline: foo "bar" 654s ok 3 /shell/cmdline/2 654s test cmdline: foo '' 'bar' 654s ok 4 /shell/cmdline/3 654s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 654s ok 5 /shell/cmdline/4 654s test cmdline: foo blah foo bar baz 654s ok 6 /shell/cmdline/5 654s test cmdline: foo ' spaces more spaces lots of spaces in this ' 654s ok 7 /shell/cmdline/6 654s test cmdline: foo \ 654s bar 654s ok 8 /shell/cmdline/7 654s test cmdline: foo '' '' 654s ok 9 /shell/cmdline/8 654s test cmdline: foo \" la la la 654s ok 10 /shell/cmdline/9 654s test cmdline: foo \ foo woo woo\ 654s ok 11 /shell/cmdline/10 654s test cmdline: foo "yada yada \$\"" 654s ok 12 /shell/cmdline/11 654s test cmdline: foo "c:\\" 654s ok 13 /shell/cmdline/12 654s test cmdline: foo # bla bla bla 654s bar 654s ok 14 /shell/cmdline/13 654s test cmdline: foo a#b 654s ok 15 /shell/cmdline/14 654s test cmdline: #foo 654s ok 16 /shell/cmdline/15 654s test cmdline: foo bar \ 654s ok 17 /shell/cmdline/16 654s test cmdline: foo 'bar baz 654s ok 18 /shell/cmdline/17 654s test cmdline: foo '"bar" baz 654s ok 19 /shell/cmdline/18 654s test cmdline: 654s ok 20 /shell/cmdline/19 654s test cmdline: 654s ok 21 /shell/cmdline/20 654s test cmdline: # foo bar 654s ok 22 /shell/cmdline/21 654s test cmdline: foo '/bar/summer'\''09 tours.pdf' 654s ok 23 /shell/cmdline/22 654s # End of cmdline tests 654s # Start of quote tests 654s ok 24 /shell/quote/0 654s ok 25 /shell/quote/1 654s ok 26 /shell/quote/2 654s ok 27 /shell/quote/3 654s ok 28 /shell/quote/4 654s ok 29 /shell/quote/5 654s ok 30 /shell/quote/6 654s # End of quote tests 654s # Start of unquote tests 654s ok 31 /shell/unquote/0 654s ok 32 /shell/unquote/1 654s ok 33 /shell/unquote/2 654s ok 34 /shell/unquote/3 654s ok 35 /shell/unquote/4 654s ok 36 /shell/unquote/5 654s ok 37 /shell/unquote/6 654s ok 38 /shell/unquote/7 654s ok 39 /shell/unquote/8 654s ok 40 /shell/unquote/9 654s ok 41 /shell/unquote/10 654s ok 42 /shell/unquote/11 654s ok 43 /shell/unquote/12 654s ok 44 /shell/unquote/13 654s ok 45 /shell/unquote/14 654s ok 46 /shell/unquote/15 654s ok 47 /shell/unquote/16 654s ok 48 /shell/unquote/17 654s ok 49 /shell/unquote/18 654s ok 50 /shell/unquote/19 654s ok 51 /shell/unquote/20 654s # End of unquote tests 654s # End of shell tests 654s TAP version 14 654s # random seed: R02Sccb6a379e7c8f89f7862e86d052c8c83 654s 1..7 654s # Start of appinfo tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/runtime 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/system-data1/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/myapp.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/myapp2.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/myapp3.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/myapp4.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/myapp5.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 654s # removing '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/data/applications/mimeinfo.cache' 654s ok 1 /appinfo/all 654s # Start of mime tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/runtime 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/system-data1/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 654s # removing '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CWZZ52/appinfo/all/.dirs/config to /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config 654s ok 2 /appinfo/mime/api 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/runtime 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/system-data1/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 654s # removing '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/config 654s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CWZZ52/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/config 654s ok 3 /appinfo/mime/default 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/runtime 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/system-data1/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 654s # removing '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CWZZ52/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config 654s ok 4 /appinfo/mime/file 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/runtime 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 654s # removing '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 654s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CWZZ52/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/config 654s ok 5 /appinfo/mime/scheme-handler 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/runtime 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/system-data1/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 654s # removing '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CWZZ52/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config 654s ok 6 /appinfo/mime/default-last-used 654s ok - glib/mimeapps.test 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/runtime 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 654s # removing '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 654s # creating '/tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 654s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_CWZZ52/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_CWZZ52/appinfo/mime/ignore-nonexisting/.dirs/config 654s ok 7 /appinfo/mime/ignore-nonexisting 654s # End of mime tests 654s # End of appinfo tests 654s # Running test: glib/utils-c-89.test 654s ok - glib/utils-c-89.test 654s # Running test: glib/application-command-line.test 654s ok - glib/application-command-line.test 654s # Running test: glib/testing-nonfatal.test 654s ok - glib/testing-nonfatal.test 654s # Running test: glib/signal-handler.test 654s ok - glib/signal-handler.test 654s # Running test: glib/rcbox.test 654s ok - glib/rcbox.test 654s # Running test: glib/markup-escape.test 654s ok - glib/markup-escape.test 654s # Running test: glib/strvbuilder.test 654s ok - glib/strvbuilder.test 654s # Running test: glib/properties.test 654s TAP version 14 654s # random seed: R02Scab9434bda1ae60304e802a842e31db9 654s 1..41 654s # Start of utils tests 654s ok 1 /utils/language-names 654s ok 2 /utils/locale-variants 654s ok 3 /utils/version 654s ok 4 /utils/appname 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 654s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 654s ok 5 /utils/prgname-thread-safety 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 654s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 654s ok 6 /utils/tmpdir 654s ok 7 /utils/basic_bits 654s ok 8 /utils/bits 654s ok 9 /utils/swap 654s ok 10 /utils/find-program 654s ok 11 /utils/find-program-for-path 654s ok 12 /utils/debug 654s ok 13 /utils/codeset 654s ok 14 /utils/codeset2 654s ok 15 /utils/console-charset 654s ok 16 /utils/gettext 654s ok 17 /utils/username 654s ok 18 /utils/realname 654s ok 19 /utils/hostname 654s ok 20 /utils/xdgdirs 654s ok 21 /utils/specialdir 654s # NAME: Ubuntu 654s ok 22 /utils/os-info 654s ok 23 /utils/clear-pointer 654s ok 24 /utils/clear-pointer-cast 654s ok 25 /utils/take-pointer 654s ok 26 /utils/clear-source 654s ok 27 /utils/misc-mem 654s # /utils/aligned-mem summary: Aligned memory allocator 654s # Alignment must not be zero 654s # Alignment must be a power of two 654s # Alignment must be a multiple of sizeof(void*) 654s ok 28 /utils/aligned-mem 654s # /utils/free-sized summary: Check that g_free_sized() works 654s ok 29 /utils/free-sized 654s ok 30 /utils/nullify 654s ok 31 /utils/atexit 654s ok 32 /utils/check-setuid 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 654s ok 33 /utils/int-limits 654s ok 34 /utils/clear-list 654s ok 35 /utils/clear-slist 654s ok 36 /utils/steal-handle-id 654s # Start of specialdir tests 654s ok 37 /utils/specialdir/desktop 654s # End of specialdir tests 654s # Start of clear-pointer tests 654s ok 38 /utils/clear-pointer/side-effects 654s # End of clear-pointer tests 654s # Start of aligned-mem tests 654s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 654s ok 39 /utils/aligned-mem/alignment 654s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 654s ok 40 /utils/aligned-mem/zeroed 654s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 654s ok 41 /utils/aligned-mem/free-sized 654s # Start of subprocess tests 654s # End of subprocess tests 654s # End of aligned-mem tests 654s # End of utils tests 654s TAP version 14 654s # random seed: R02S9f5bbe20688147b6a5f0da5fe89fb7b2 654s 1..1 654s # Start of application-command-line tests 654s ok 1 /application-command-line/basic-properties 654s # End of application-command-line tests 654s TAP version 14 654s # random seed: R02S5e353e8032366c933ed6ca2befab024f 654s ** 654s 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?") 654s # 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?") 654s TAP version 14 654s # random seed: R02S28810cd424440b6c02ab4aeaff968381 654s 1..7 654s # Start of signal tests 654s # Start of handler tests 654s # min perf: connected 1 handlers in 0.000 seconds 654s ok 1 /signal/handler/connect-many 654s # min perf: disconnected 1 handlers in 0.000 seconds 654s ok 2 /signal/handler/disconnect-many-ordered 654s # min perf: disconnected 1 handlers in 0.000 seconds 654s ok 3 /signal/handler/disconnect-many-inverse 654s # min perf: disconnected 1 handlers in 0.000 seconds 654s ok 4 /signal/handler/disconnect-many-random 654s # min perf: disconnected 1 handlers in 0.000 seconds 654s ok 5 /signal/handler/disconnect-2-signals 654s # min perf: disconnected 1 handlers in 0.000 seconds 654s ok 6 /signal/handler/disconnect-2-objects 654s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 654s ok 7 /signal/handler/block-many 654s # End of handler tests 654s # End of signal tests 654s TAP version 14 654s # random seed: R02Sd0da94eea6aa3e659dbdd2d318c21bd6 654s 1..8 654s # Start of rcbox tests 654s ok 1 /rcbox/new 654s # global_point = 0x640e418478b0 654s ok 2 /rcbox/release-full 654s # global_point_a = 0x640e418478b0 654s # global_point_b = 0x640e41847980 654s ok 3 /rcbox/dup 654s ok 4 /rcbox/alignment 654s # End of rcbox tests 654s # Start of atomic-rcbox tests 654s ok 5 /atomic-rcbox/new 654s # global_point = 0x640e41847980 654s ok 6 /atomic-rcbox/release-full 654s # global_point_a = 0x640e41847980 654s # global_point_b = 0x640e418478b0 654s ok 7 /atomic-rcbox/dup 654s ok 8 /atomic-rcbox/alignment 654s # End of atomic-rcbox tests 654s TAP version 14 654s # random seed: R02Sb662a63b4dd8a5badabb0824183e9482 654s 1..41 654s # Start of markup tests 654s ok 1 /markup/format 654s # Start of escape-text tests 654s ok 2 /markup/escape-text/0 654s ok 3 /markup/escape-text/1 654s ok 4 /markup/escape-text/2 654s ok 5 /markup/escape-text/3 654s ok 6 /markup/escape-text/4 654s ok 7 /markup/escape-text/5 654s ok 8 /markup/escape-text/6 654s ok 9 /markup/escape-text/7 654s ok 10 /markup/escape-text/8 654s ok 11 /markup/escape-text/9 654s ok 12 /markup/escape-text/10 654s ok 13 /markup/escape-text/11 654s ok 14 /markup/escape-text/12 654s ok 15 /markup/escape-text/13 654s ok 16 /markup/escape-text/14 654s ok 17 /markup/escape-text/15 654s ok 18 /markup/escape-text/16 654s ok 19 /markup/escape-text/17 654s ok 20 /markup/escape-text/18 654s ok 21 /markup/escape-text/19 654s ok 22 /markup/escape-text/20 654s ok 23 /markup/escape-text/21 654s ok 24 /markup/escape-text/22 654s # End of escape-text tests 654s # Start of escape-unichar tests 654s ok 25 /markup/escape-unichar/0 654s ok 26 /markup/escape-unichar/1 654s ok 27 /markup/escape-unichar/2 654s ok 28 /markup/escape-unichar/3 654s ok 29 /markup/escape-unichar/4 654s ok 30 /markup/escape-unichar/5 654s ok 31 /markup/escape-unichar/6 654s ok 32 /markup/escape-unichar/7 654s ok 33 /markup/escape-unichar/8 654s ok 34 /markup/escape-unichar/9 654s ok 35 /markup/escape-unichar/10 654s ok 36 /markup/escape-unichar/11 654s ok 37 /markup/escape-unichar/12 654s ok 38 /markup/escape-unichar/13 654s ok 39 /markup/escape-unichar/14 654s ok 40 /markup/escape-unichar/15 654s ok 41 /markup/escape-unichar/16 654s # End of escape-unichar tests 654s # End of markup tests 654s TAP version 14 654s # random seed: R02S3856fd4a7ea2fedad7e00df4e70da5ac 654s 1..7 654s # Start of strvbuilder tests 654s ok 1 /strvbuilder/empty 654s ok 2 /strvbuilder/add 654s ok 3 /strvbuilder/addv 654s ok 4 /strvbuilder/add_many 654s ok 5 /strvbuilder/take 654s ok 6 /strvbuilder/ref 654s ok 7 /strvbuilder/unref_to_strv 654s # End of strvbuilder tests 654s TAP version 14 654s # random seed: R02Sccc943f4a0b2e5d29e2db93f6e98dbe3 654s 1..14 654s # Start of properties tests 654s ok 1 /properties/install 654s ok 2 /properties/install-many 654s ok 3 /properties/notify 654s ok 4 /properties/notify-queue 654s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 654s ok 5 /properties/construct 654s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 654s # Test g_object_get_property with an initialized value 654s # Test g_object_get_property with an uninitialized value 654s # Test g_object_get_property with a transformable value 654s ok 6 /properties/get-property 654s ok 7 /properties/testv_with_no_properties 654s ok 8 /properties/testv_with_valid_properties 654s ok 9 /properties/testv_with_invalid_property_type 654s ok 10 /properties/testv_with_invalid_property_names 654s ok 11 /properties/testv_getv 654s ok 12 /properties/testv_notify_queue 654s # Start of notify tests 654s ok 13 /properties/notify/too-many-freezes 654s # End of notify tests 654s # Start of set-property tests 654s # Start of variant tests 654s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 654s ok 14 /properties/set-property/variant/floating 654s # End of variant tests 654s # End of set-property tests 654s # End of properties tests 654s ok - glib/properties.test 654s # Running test: glib/cxx-14.test 654s TAP version 14 654s # random seed: R02Se87854db5dd75af6a62ac7ebde580041 654s 1..2 654s # Start of gtask tests 654s ok - glib/cxx-14.test 654s # 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. 654s ok 1 /gtask/name 654s # Start of name tests 654s # 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. 654s ok 2 /gtask/name/macro-wrapper 654s # End of name tests 654s # End of gtask tests 654s # Running test: glib/cxx-11.test 654s TAP version 14 654s # random seed: R02S712fa6c2aa4060445b09805e5b9fc467 654s 1..2 654s # Start of gtask tests 654s # 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. 654s ok 1 /gtask/name 654s # Start of name tests 654s # 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. 654s ok 2 /gtask/name/macro-wrapper 654s # End of name tests 654s # End of gtask tests 654s ok - glib/cxx-11.test 654s # Running test: glib/unix-mounts.test 654s TAP version 14 654s # random seed: R02Sc3ce4d9364e1d6df84246d9c40f25803 654s 1..4 654s # Start of unix-mounts tests 654s ok 1 /unix-mounts/is-system-fs-type 654s ok 2 /unix-mounts/is-system-device-path 654s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 654s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 654s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 654s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 654s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 654s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 654s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 654s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 654s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 654s ok 3 /unix-mounts/get-mount-points 654s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 654s ok 4 /unix-mounts/get-mount-entries 654s # End of unix-mounts tests 654s ok - glib/unix-mounts.test 654s # Running test: glib/sleepy-stream.test 654s TAP version 14 654s # random seed: R02S4ff8196d01d201343d5ddfe75bb7e189 654s 1..2 654s # Start of filter-stream tests 654s ok 1 /filter-stream/input 654s ok 2 /filter-stream/async 654s # End of filter-stream tests 654s ok - glib/sleepy-stream.test 654s # Running test: glib/gdbus-close-pending.test 654s TAP version 14 654s # random seed: R02Se83ce88386a3ed2059e6088b183262b9 654s 1..2 654s # Start of gdbus tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_QQEV52/gdbus/close-pending/.dirs/runtime 654s ok 1 /gdbus/close-pending 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_QQEV52/gdbus/unref-pending/.dirs/runtime 654s ok 2 /gdbus/unref-pending 654s # End of gdbus tests 654s ok - glib/gdbus-close-pending.test 654s # Running test: glib/trash.test 654s TAP version 14 654s # random seed: R02Se24936bda2eaf0fc18e61c6b00d89fba 654s 1..3 654s # Start of trash tests 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 654s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 654s # File: /tmp/test-trash7M5552 (parent st_dev: 64769) 654s # Home: /home/ubuntu (st_dev: 64769) 654s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 654s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 654s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 654s ok 3 /trash/long-filename 654s # End of trash tests 654s ok - glib/trash.test 654s # Running test: glib/atomic-c-89.test 654s TAP version 14 654s # random seed: R02S8284a6a373da9af1e64a51ec432c70c8 654s 1..2 654s # Start of atomic tests 654s ok 1 /atomic/types 654s ok 2 /atomic/threaded 654s # End of atomic tests 654s ok - glib/atomic-c-89.test 654s # Running test: glib/performance.test 658s # Executing: glib/performance.test 660s simple-construction: Millions of constructed objects per second: 23.260 663s simple-construction1: Millions of constructed objects per second: 61.281 664s # Executing: glib/performance.test 665s complex-construction: Millions of constructed objects per second: 8.385 668s # Executing: glib/performance.test 669s complex-construction1: Millions of constructed objects per second: 13.471 674s # Executing: glib/performance.test 674s complex-construction2: Millions of constructed objects per second: 16.790 675s finalization: Millions of finalized objects per second: 6.512 676s type-check: Million type checks per second: 162.37 677s emit-unhandled: Emissions per second: 8374108 678s # Executing: glib/performance.test 679s emit-unhandled-empty: Emissions per second: 62293540 680s emit-unhandled-generic: Emissions per second: 12520987 681s emit-unhandled-generic-empty: Emissions per second: 62321860 682s emit-unhandled-args: Emissions per second: 6614549 683s emit-handled: Emissions per second: 5200789 683s # Executing: glib/performance.test 684s emit-handled-empty: Emissions per second: 5356274 686s emit-handled-generic: Emissions per second: 5400658 687s emit-handled-generic-empty: Emissions per second: 10376110 688s emit-handled-args: Emissions per second: 4528347 688s # Executing: glib/performance.test 689s notify-unhandled: Notify (unhandled) per second: 53970103 690s notify-by-pspec-unhandled: Notify (unhandled) per second: 131268793 692s notify-handled: Notify per second: 3272079 693s notify-by-pspec-handled: Notify per second: 3407635 693s # Executing: glib/performance.test 694s property-set: Property set per second: 26926618 695s property-set-signaled: Property set per second: 5164663 697s property-get: Property get per second: 23212175 698s refcount: Million refs+unref per second: 84.44 698s # Executing: glib/performance.test 699s refcount-1: Million refs+unref per second: 243.74 700s refcount-toggle: Million refs+unref per second: 116.18 700s ok - glib/performance.test 700s # Running test: glib/atomic-c-11.test 700s TAP version 14 700s # random seed: R02Sfb1e5b7523bf5b83987a4514e0fdc7e7 700s 1..2 700s # Start of atomic tests 700s ok 1 /atomic/types 700s ok 2 /atomic/threaded 700s # End of atomic tests 700s ok - glib/atomic-c-11.test 700s # Running test: glib/closure.test 700s TAP version 14 700s # random seed: R02Sf238452cabca3a6fd395ecfcdce116f2 700s 1..6 700s # Start of closure tests 700s ok 1 /closure/idle 700s ok 2 /closure/timeout 700s ok 3 /closure/iochannel 700s ok 4 /closure/child 700s ok 5 /closure/fd 700s ok 6 /closure/signal 700s # End of closure tests 700s TAP version 14 700s # random seed: R02S33e9881c1263f04260c55f29649e94b4 700s 1..14 700s # Start of glib tests 700s # Start of markup tests 700s # Start of subparser tests 700s # Start of success tests 700s ok 1 /glib/markup/subparser/success/0 700s ok 2 /glib/markup/subparser/success/1 700s ok 3 /glib/markup/subparser/success/2 700s ok 4 /glib/markup/subparser/success/3 700s ok 5 /glib/markup/subparser/success/4 700s ok 6 /glib/markup/subparser/success/5 700s ok 7 /glib/markup/subparser/success/6 700s # End of success tests 700s # Start of failure tests 700s ok 8 /glib/markup/subparser/failure/0 700s ok 9 /glib/markup/subparser/failure/1 700s ok 10 /glib/markup/subparser/failure/2 700s ok 11 /glib/markup/subparser/failure/3 700s ok 12 /glib/markup/subparser/failure/4 700s ok 13 /glib/markup/subparser/failure/5 700s ok 14 /glib/markup/subparser/failure/6 700s # End of failure tests 700s # End of subparser tests 700s # End of markup tests 700s # End of glib tests 700s ok - glib/closure.test 700s # Running test: glib/markup-subparser.test 700s ok - glib/markup-subparser.test 700s # Running test: glib/genmarshal.py.test 701s TAP version 13 701s ok 1 __main__.TestGenmarshal.test_empty_list 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmp83mxa6j_ 701s # /tmp/tmp83mxa6j_/tmpq943rjpb.list: 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp83mxa6j_/tmpq943rjpb.list', '--header', '--quiet'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 701s # Error: 701s # 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp83mxa6j_/tmpq943rjpb.list', '--body', '--quiet'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #include 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # Error: 701s ok 2 __main__.TestGenmarshal.test_help 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmps75kf5su 701s # Running: ['/usr/bin/glib-genmarshal', '--help'] 701s # Return code: 0 701s # Output: 701s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 701s # [--internal] [--valist-marshallers] [-v] 701s # [--g-fatal-warnings] [--include-header [HEADER]] 701s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 701s # [--prototypes] [--header] [--body] [--stdinc | 701s # --nostdinc] [--quiet | --verbose] 701s # [FILE ...] 701s # 701s # Generate signal marshallers for GObject 701s # 701s # positional arguments: 701s # FILE Files with lists of marshallers to generate, or "-" 701s # for standard input 701s # 701s # options: 701s # -h, --help show this help message and exit 701s # --prefix STRING Specify marshaller prefix 701s # --output FILE Write output into the specified file 701s # --skip-source Skip source location comments 701s # --internal Mark generated functions as internal 701s # --valist-marshallers Generate va_list marshallers 701s # -v, --version Print version information, and exit 701s # --g-fatal-warnings Make warnings fatal 701s # --include-header [HEADER] 701s # Include the specified header in the body 701s # --pragma-once Use "pragma once" as the inclusion guard 701s # -D CPP_DEFINES Pre-processor define 701s # -U CPP_UNDEFINES Pre-processor undefine 701s # --prototypes Generate the marshallers prototype in the C code 701s # --header Generate C headers 701s # --body Generate C code 701s # --stdinc Include standard marshallers 701s # --nostdinc Use standard marshallers 701s # --quiet Only print warnings and errors 701s # --verbose Be verbose, and include debugging information 701s # Error: 701s ok 3 __main__.TestGenmarshal.test_no_args 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmphv9rou8o 701s # Running: ['/usr/bin/glib-genmarshal'] 701s # Return code: 0 701s # Output: 701s # 701s # Error: 701s ok 4 __main__.TestGenmarshal.test_void_boolean 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmppzqycej9 701s # /tmp/tmppzqycej9/tmpf8m3dx50.list: VOID:BOOLEAN 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppzqycej9/tmpf8m3dx50.list', '--header', '--quiet'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # /* VOID:BOOLEAN (/tmp/tmppzqycej9/tmpf8m3dx50.list:1) */ 701s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 701s # Error: 701s # 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppzqycej9/tmpf8m3dx50.list', '--body', '--quiet'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #include 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # Error: 701s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmpfwzxj1yp 701s # /tmp/tmpfwzxj1yp/tmpbgk1e9gf.list: VOID:BOOLEAN,INT64 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfwzxj1yp/tmpbgk1e9gf.list', '--header', '--quiet'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # 701s # #include 701s # 701s # G_BEGIN_DECLS 701s # 701s # /* VOID:BOOLEAN,INT64 (/tmp/tmpfwzxj1yp/tmpbgk1e9gf.list:1) */ 701s # extern 701s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 701s # GValue *return_value, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint, 701s # gpointer marshal_data); 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 701s # Error: 701s # 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfwzxj1yp/tmpbgk1e9gf.list', '--body', '--quiet'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #include 701s # 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # /* VOID:BOOLEAN,INT64 (/tmp/tmpfwzxj1yp/tmpbgk1e9gf.list:1) */ 701s # void 701s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint G_GNUC_UNUSED, 701s # gpointer marshal_data) 701s # { 701s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 701s # gboolean arg1, 701s # gint64 arg2, 701s # gpointer data2); 701s # GCClosure *cc = (GCClosure *) closure; 701s # gpointer data1, data2; 701s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 701s # 701s # g_return_if_fail (n_param_values == 3); 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = g_value_peek_pointer (param_values + 0); 701s # } 701s # else 701s # { 701s # data1 = g_value_peek_pointer (param_values + 0); 701s # data2 = closure->data; 701s # } 701s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # g_marshal_value_peek_boolean (param_values + 1), 701s # g_marshal_value_peek_int64 (param_values + 2), 701s # data2); 701s # } 701s # Error: 701s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmp8z0hlznj 701s # /tmp/tmp8z0hlznj/tmp1qjyuq_7.list: VOID:PARAM 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8z0hlznj/tmp1qjyuq_7.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # 701s # G_BEGIN_DECLS 701s # 701s # /* VOID:PARAM (/tmp/tmp8z0hlznj/tmp1qjyuq_7.list:1) */ 701s # extern 701s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 701s # GValue *return_value, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint, 701s # gpointer marshal_data); 701s # extern 701s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 701s # GValue *return_value, 701s # gpointer instance, 701s # va_list args, 701s # gpointer marshal_data, 701s # int n_params, 701s # GType *param_types); 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 701s # Error: 701s # 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp8z0hlznj/tmp1qjyuq_7.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # /* VOID:PARAM (/tmp/tmp8z0hlznj/tmp1qjyuq_7.list:1) */ 701s # void 701s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint G_GNUC_UNUSED, 701s # gpointer marshal_data) 701s # { 701s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 701s # gpointer arg1, 701s # gpointer data2); 701s # GCClosure *cc = (GCClosure *) closure; 701s # gpointer data1, data2; 701s # GMarshalFunc_VOID__PARAM callback; 701s # 701s # g_return_if_fail (n_param_values == 2); 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = g_value_peek_pointer (param_values + 0); 701s # } 701s # else 701s # { 701s # data1 = g_value_peek_pointer (param_values + 0); 701s # data2 = closure->data; 701s # } 701s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # g_marshal_value_peek_param (param_values + 1), 701s # data2); 701s # } 701s # 701s # void 701s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # gpointer instance, 701s # va_list args, 701s # gpointer marshal_data, 701s # int n_params, 701s # GType *param_types) 701s # { 701s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 701s # gpointer arg1, 701s # gpointer data2); 701s # GCClosure *cc = (GCClosure *) closure; 701s # gpointer data1, data2; 701s # GMarshalFunc_VOID__PARAM callback; 701s # gpointer arg0; 701s # va_list args_copy; 701s # 701s # va_copy (args_copy, args); 701s # arg0 = (gpointer) va_arg (args_copy, gpointer); 701s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 701s # arg0 = g_param_spec_ref (arg0); 701s # va_end (args_copy); 701s # 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = instance; 701s # } 701s # else 701s # { 701s # data1 = instance; 701s # data2 = closure->data; 701s # } 701s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # arg0, 701s # data2); 701s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 701s # g_param_spec_unref (arg0); 701s # } 701s # Error: 701s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmp1l4bkf9p 701s # /tmp/tmp1l4bkf9p/tmpjygxf0u8.list: VOID:STRING 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1l4bkf9p/tmpjygxf0u8.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # 701s # G_BEGIN_DECLS 701s # 701s # /* VOID:STRING (/tmp/tmp1l4bkf9p/tmpjygxf0u8.list:1) */ 701s # extern 701s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 701s # GValue *return_value, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint, 701s # gpointer marshal_data); 701s # extern 701s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 701s # GValue *return_value, 701s # gpointer instance, 701s # va_list args, 701s # gpointer marshal_data, 701s # int n_params, 701s # GType *param_types); 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 701s # Error: 701s # 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1l4bkf9p/tmpjygxf0u8.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # /* VOID:STRING (/tmp/tmp1l4bkf9p/tmpjygxf0u8.list:1) */ 701s # void 701s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint G_GNUC_UNUSED, 701s # gpointer marshal_data) 701s # { 701s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 701s # gpointer arg1, 701s # gpointer data2); 701s # GCClosure *cc = (GCClosure *) closure; 701s # gpointer data1, data2; 701s # GMarshalFunc_VOID__STRING callback; 701s # 701s # g_return_if_fail (n_param_values == 2); 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = g_value_peek_pointer (param_values + 0); 701s # } 701s # else 701s # { 701s # data1 = g_value_peek_pointer (param_values + 0); 701s # data2 = closure->data; 701s # } 701s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # g_marshal_value_peek_string (param_values + 1), 701s # data2); 701s # } 701s # 701s # void 701s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # gpointer instance, 701s # va_list args, 701s # gpointer marshal_data, 701s # int n_params, 701s # GType *param_types) 701s # { 701s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 701s # gpointer arg1, 701s # gpointer data2); 701s # GCClosure *cc = (GCClosure *) closure; 701s # gpointer data1, data2; 701s # GMarshalFunc_VOID__STRING callback; 701s # gpointer arg0; 701s # va_list args_copy; 701s # 701s # va_copy (args_copy, args); 701s # arg0 = (gpointer) va_arg (args_copy, gpointer); 701s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 701s # arg0 = g_strdup (arg0); 701s # va_end (args_copy); 701s # 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = instance; 701s # } 701s # else 701s # { 701s # data1 = instance; 701s # data2 = closure->data; 701s # } 701s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # arg0, 701s # data2); 701s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 701s # g_free (arg0); 701s # } 701s # Error: 701s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 701s # glib-genmarshal: /usr/bin/glib-genmarshal 701s # tmpdir: /tmp/tmpry4y_56y 701s # /tmp/tmpry4y_56y/tmpz2zpfwbf.list: VOID:VARIANT 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpry4y_56y/tmpz2zpfwbf.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 701s # 701s # G_BEGIN_DECLS 701s # 701s # /* VOID:VARIANT (/tmp/tmpry4y_56y/tmpz2zpfwbf.list:1) */ 701s # extern 701s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 701s # GValue *return_value, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint, 701s # gpointer marshal_data); 701s # extern 701s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 701s # GValue *return_value, 701s # gpointer instance, 701s # va_list args, 701s # gpointer marshal_data, 701s # int n_params, 701s # GType *param_types); 701s # 701s # 701s # G_END_DECLS 701s # 701s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 701s # Error: 701s # 701s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpry4y_56y/tmpz2zpfwbf.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 701s # Return code: 0 701s # Output: 701s # /* 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. */ 701s # #ifdef G_ENABLE_DEBUG 701s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 701s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 701s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 701s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 701s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 701s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 701s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 701s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 701s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 701s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 701s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 701s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 701s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 701s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 701s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 701s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 701s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 701s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 701s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 701s # #else /* !G_ENABLE_DEBUG */ 701s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 701s # * Do not access GValues directly in your code. Instead, use the 701s # * g_value_get_*() functions 701s # */ 701s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 701s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 701s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 701s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 701s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 701s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 701s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 701s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 701s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 701s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 701s # #endif /* !G_ENABLE_DEBUG */ 701s # 701s # /* VOID:VARIANT (/tmp/tmpry4y_56y/tmpz2zpfwbf.list:1) */ 701s # void 701s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # guint n_param_values, 701s # const GValue *param_values, 701s # gpointer invocation_hint G_GNUC_UNUSED, 701s # gpointer marshal_data) 701s # { 701s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 701s # gpointer arg1, 701s # gpointer data2); 701s # GCClosure *cc = (GCClosure *) closure; 701s # gpointer data1, data2; 701s # GMarshalFunc_VOID__VARIANT callback; 701s # 701s # g_return_if_fail (n_param_values == 2); 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = g_value_peek_pointer (param_values + 0); 701s # } 701s # else 701s # { 701s # data1 = g_value_peek_pointer (param_values + 0); 701s # data2 = closure->data; 701s # } 701s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # g_marshal_value_peek_variant (param_values + 1), 701s # data2); 701s # } 701s # 701s # void 701s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 701s # GValue *return_value G_GNUC_UNUSED, 701s # gpointer instance, 701s # va_list args, 701s # gpointer marshal_data, 701s # int n_params, 701s # GType *param_types) 701s # { 701s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 701s # gpointer arg1, 701s # gpointer data2); 701s # GCClosure *cc = (GCClosure *) closure; 701s # gpointer data1, data2; 701s # GMarshalFunc_VOID__VARIANT callback; 701s # gpointer arg0; 701s # va_list args_copy; 701s # 701s # va_copy (args_copy, args); 701s # arg0 = (gpointer) va_arg (args_copy, gpointer); 701s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 701s # arg0 = g_variant_ref_sink (arg0); 701s # va_end (args_copy); 701s # 701s # 701s # if (G_CCLOSURE_SWAP_DATA (closure)) 701s # { 701s # data1 = closure->data; 701s # data2 = instance; 701s # } 701s # else 701s # { 701s # data1 = instance; 701s # data2 = closure->data; 701s # } 701s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 701s # 701s # callback (data1, 701s # arg0, 701s # data2); 701s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 701s # g_variant_unref (arg0); 701s # } 701s # Error: 701s 1..8 701s ok - glib/genmarshal.py.test 701s # Running test: glib/io-channel.test 701s TAP version 14 701s # random seed: R02Sfcfb93749228f336667d3e19ce4210c9 701s 1..2 701s # Start of io-channel tests 701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/home 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/cache 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/system-config2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/config 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/system-data2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/data 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/state 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_SUZQ52/io-channel/read-write/.dirs/runtime 701s # Line one 701s # 701s # Line two 701s # 701s # Line three 701s # 701s # /* Hello */ 701s # 701s # \x1234\x567890\x6666 701s # 701s # read 62 bytes, wrote 62 bytes 701s ok 1 /io-channel/read-write 701s # Start of read-line tests 701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/home 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/cache 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/system-config2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/config 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/system-data2 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/data 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/state 701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_SUZQ52/io-channel/read-line/embedded-nuls/.dirs/runtime 701s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 701s ok 2 /io-channel/read-line/embedded-nuls 701s # End of read-line tests 701s # End of io-channel tests 701s ok - glib/io-channel.test 701s # Running test: glib/cancellable.test 701s TAP version 14 701s # random seed: R02Sbdc76ce3c8805c19132603b8c52c761c 701s 1..18 701s # Start of cancellable tests 701s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 701s ok 2 /cancellable/null 701s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 701s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 701s ok 4 /cancellable/connect-to-disposing-callback 701s ok 5 /cancellable/connect-cancelled-data-is-destroyed 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 1 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 0 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 1 701s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 701s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 701s ok 7 /cancellable/connect-cancelled-to-disposing-callback 701s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 1 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 0 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 1 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 0 701s # Toggle reference callback for GCancellable (0x5ac7138ddcd0), last: 1 701s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 701s # /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 701s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 701s # /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 701s ok 11 /cancellable/resets-on-cancel-callback-hangs 701s ok 12 /cancellable/poll-fd 701s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 701s ok 13 /cancellable/poll-fd-cancelled 701s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 701s ok 14 /cancellable/poll-fd-cancelled-threaded 701s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 701s ok 15 /cancellable/cancel-reset-races 701s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 701s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 701s # End of cancellable tests 701s # Start of cancellable-source tests 701s # /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) 701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 702s ok 17 /cancellable-source/threaded-dispose 702s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 702s ok 18 /cancellable-source/can-be-fired-multiple-times 702s # End of cancellable-source tests 702s ok - glib/cancellable.test 702s # Running test: glib/notify-init2.test 702s TAP version 14 702s # random seed: R02S92dd57ad6df60595c2644de469026975 702s 1..1 702s # Start of properties tests 702s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 702s ok 1 /properties/notify-in-init2 702s # End of properties tests 702s ok - glib/notify-init2.test 702s # Running test: glib/keyfile.test 702s TAP version 14 702s # random seed: R02Sddce003d9f9e17dafe7003ee24533055 702s 1..36 702s # Start of keyfile tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/line-ends/.dirs/runtime 702s ok 1 /keyfile/line-ends 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/whitespace/.dirs/runtime 702s ok 2 /keyfile/whitespace 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/comments/.dirs/runtime 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 702s ok 3 /keyfile/comments 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/listing/.dirs/runtime 702s ok 4 /keyfile/listing 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/string/.dirs/runtime 702s ok 5 /keyfile/string 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/boolean/.dirs/runtime 702s ok 6 /keyfile/boolean 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/number/.dirs/runtime 702s ok 7 /keyfile/number 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/.dirs/runtime 702s ok 8 /keyfile/locale-string 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/lists/.dirs/runtime 702s ok 9 /keyfile/lists 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/lists-set-get/.dirs/runtime 702s ok 10 /keyfile/lists-set-get 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/group-remove/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 702s ok 11 /keyfile/group-remove 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/key-remove/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 702s ok 12 /keyfile/key-remove 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/groups/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 702s ok 13 /keyfile/groups 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-keys/.dirs/runtime 702s ok 14 /keyfile/duplicate-keys 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 702s ok 15 /keyfile/duplicate-groups 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/duplicate-groups2/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 702s ok 16 /keyfile/duplicate-groups2 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/group-names/.dirs/runtime 702s ok 17 /keyfile/group-names 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/key-names/.dirs/runtime 702s ok 18 /keyfile/key-names 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/reload/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 702s ok 19 /keyfile/reload 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/int64/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 702s ok 20 /keyfile/int64 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/load/.dirs/runtime 702s ok 21 /keyfile/load 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/save/.dirs/runtime 702s ok 22 /keyfile/save 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/load-fail/.dirs/runtime 702s ok 23 /keyfile/load-fail 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/non-utf8/.dirs/runtime 702s ok 24 /keyfile/non-utf8 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/page-boundary/.dirs/runtime 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 702s ok 25 /keyfile/page-boundary 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/ref/.dirs/runtime 702s ok 26 /keyfile/ref 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/replace-value/.dirs/runtime 702s ok 27 /keyfile/replace-value 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/list-separator/.dirs/runtime 702s ok 28 /keyfile/list-separator 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/empty-string/.dirs/runtime 702s ok 29 /keyfile/empty-string 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/limbo/.dirs/runtime 702s ok 30 /keyfile/limbo 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/utf8/.dirs/runtime 702s # Testing invalid encoding ?non-UTF-8? 702s # Testing invalid encoding ?UTF? 702s # Testing invalid encoding ?UTF-9? 702s ok 31 /keyfile/utf8 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/roundtrip/.dirs/runtime 702s ok 32 /keyfile/roundtrip 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/bytes/.dirs/runtime 702s ok 33 /keyfile/bytes 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/get-locale/.dirs/runtime 702s ok 34 /keyfile/get-locale 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/free-when-not-last-ref/.dirs/runtime 702s ok 35 /keyfile/free-when-not-last-ref 702s # Start of locale-string tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_9X4Z52/keyfile/locale-string/multiple-loads/.dirs/runtime 702s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 702s ok 36 /keyfile/locale-string/multiple-loads 702s # End of locale-string tests 702s # End of keyfile tests 702s TAP version 14 702s # random seed: R02Sbd825dc68a2065d99e817926f04e9172 702s 1..121 702s # Start of date tests 702s ok 1 /date/basic 702s ok 2 /date/empty 702s ok 3 /date/dmy 702s ok 4 /date/julian 702s ok 5 /date/compare 702s ok 6 /date/dates 702s ok 7 /date/strftime 702s ok 8 /date/two-digit-years 702s ok 9 /date/parse 702s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 702s ok 11 /date/month_substring 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 702s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 702s ok 13 /date/clamp 702s ok 14 /date/order 702s ok 15 /date/copy 702s # Vector 0: 0000-00-00, invalid 702s # Vector 1: 0001-01-01, valid 702s # Vector 2: 0000-01-01, invalid 702s # Vector 3: 2000-02-30, invalid 702s # Vector 4: 2000-02-29, valid 702s # Vector 5: 2001-02-29, invalid 702s # Vector 6: 65535-01-01, valid 702s ok 16 /date/valid-dmy 702s # Start of parse tests 702s # Test 0 702s # Test 1 702s ok 17 /date/parse/invalid 702s ok - glib/keyfile.test 702s # Running test: glib/date.test 702s # End of parse tests 702s # Start of year tests 702s ok 18 /date/year/1 702s ok 19 /date/year/2 702s ok 20 /date/year/3 702s ok 21 /date/year/4 702s ok 22 /date/year/5 702s ok 23 /date/year/6 702s ok 24 /date/year/7 702s ok 25 /date/year/8 702s ok 26 /date/year/9 702s ok 27 /date/year/10 702s ok 28 /date/year/11 702s ok 29 /date/year/12 702s ok 30 /date/year/13 702s ok 31 /date/year/14 702s ok 32 /date/year/98 702s ok 33 /date/year/99 702s ok 34 /date/year/100 702s ok 35 /date/year/101 702s ok 36 /date/year/102 702s ok 37 /date/year/103 702s ok 38 /date/year/397 702s ok 39 /date/year/398 702s ok 40 /date/year/399 702s ok 41 /date/year/400 702s ok 42 /date/year/401 702s ok 43 /date/year/402 702s ok 44 /date/year/403 702s ok 45 /date/year/404 702s ok 46 /date/year/405 702s ok 47 /date/year/406 702s ok 48 /date/year/1598 702s ok 49 /date/year/1599 702s ok 50 /date/year/1600 702s ok 51 /date/year/1601 702s ok 52 /date/year/1602 702s ok 53 /date/year/1650 702s ok 54 /date/year/1651 702s ok 55 /date/year/1897 702s ok 56 /date/year/1898 702s ok 57 /date/year/1899 702s ok 58 /date/year/1900 702s ok 59 /date/year/1901 702s ok 60 /date/year/1902 702s ok 61 /date/year/1903 702s ok 62 /date/year/1961 702s ok 63 /date/year/1962 702s ok 64 /date/year/1963 702s ok 65 /date/year/1964 702s ok 66 /date/year/1965 702s ok 67 /date/year/1967 702s ok 68 /date/year/1968 702s ok 69 /date/year/1969 702s ok 70 /date/year/1970 702s ok 71 /date/year/1971 702s ok 72 /date/year/1972 702s ok 73 /date/year/1973 702s ok 74 /date/year/1974 702s ok 75 /date/year/1975 702s ok 76 /date/year/1976 702s ok 77 /date/year/1977 702s ok 78 /date/year/1978 702s ok 79 /date/year/1979 702s ok 80 /date/year/1980 702s ok 81 /date/year/1981 702s ok 82 /date/year/1982 702s ok 83 /date/year/1983 702s ok 84 /date/year/1984 702s ok 85 /date/year/1985 702s ok 86 /date/year/1986 702s ok 87 /date/year/1987 702s ok 88 /date/year/1988 702s ok 89 /date/year/1989 702s ok 90 /date/year/1990 702s ok 91 /date/year/1991 702s ok 92 /date/year/1992 702s ok 93 /date/year/1993 702s ok 94 /date/year/1994 702s ok 95 /date/year/1995 702s ok 96 /date/year/1996 702s ok 97 /date/year/1997 702s ok 98 /date/year/1998 702s ok 99 /date/year/1999 702s ok 100 /date/year/2000 702s ok 101 /date/year/2001 702s ok 102 /date/year/2002 702s ok 103 /date/year/2003 702s ok 104 /date/year/2004 702s ok 105 /date/year/2005 702s ok 106 /date/year/2006 702s ok 107 /date/year/2007 702s ok 108 /date/year/2008 702s ok 109 /date/year/2009 702s ok 110 /date/year/2010 702s ok 111 /date/year/2011 702s ok 112 /date/year/2012 702s ok 113 /date/year/3000 702s ok 114 /date/year/3001 702s ok 115 /date/year/3002 702s ok 116 /date/year/3998 702s ok 117 /date/year/3999 702s ok 118 /date/year/4000 702s ok 119 /date/year/4001 702s ok 120 /date/year/4002 702s ok 121 /date/year/4003 702s # End of year tests 702s # End of date tests 702s ok - glib/date.test 702s # Running test: glib/flags.test 702s TAP version 14 702s # random seed: R02S6d40f470ac553994af5eb68a84e70706 702s 1..1 702s # Start of gobject tests 702s ok - glib/flags.test 702s # Start of flags tests 702s ok 1 /gobject/flags/validate 702s # End of flags tests 702s # End of gobject tests 702s # Running test: glib/volumemonitor.test 702s TAP version 14 702s # random seed: R02Sc4b488d1f880ac28b262e39488f082de 702s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 702s 1..3 702s # Start of volumemonitor tests 702s ok 1 /volumemonitor/connected_drives 702s ok 2 /volumemonitor/volumes 702s ok 3 /volumemonitor/mounts 702s # End of volumemonitor tests 702s ok - glib/volumemonitor.test 702s # Running test: glib/markup-parse.test 702s TAP version 14 702s # random seed: R02S89ac80bee4d3e528f9706ab23c10b97b 702s 1..71 702s # Start of markup tests 702s # Start of parse tests 702s ok 1 /markup/parse/fail-46.gmarkup 702s ok 2 /markup/parse/fail-22.gmarkup 702s ok 3 /markup/parse/valid-17.gmarkup 702s ok 4 /markup/parse/fail-3.gmarkup 702s ok 5 /markup/parse/fail-17.gmarkup 702s ok 6 /markup/parse/fail-54.gmarkup 702s ok 7 /markup/parse/fail-38.gmarkup 702s ok 8 /markup/parse/valid-15.gmarkup 702s ok 9 /markup/parse/valid-4.gmarkup 702s ok 10 /markup/parse/valid-13.gmarkup 702s ok 11 /markup/parse/fail-15.gmarkup 702s ok 12 /markup/parse/valid-16.gmarkup 702s ok 13 /markup/parse/valid-6.gmarkup 702s ok 14 /markup/parse/fail-11.gmarkup 702s ok 15 /markup/parse/fail-4.gmarkup 702s ok 16 /markup/parse/fail-18.gmarkup 702s ok 17 /markup/parse/fail-45.gmarkup 702s ok 18 /markup/parse/valid-11.gmarkup 702s ok 19 /markup/parse/fail-40.gmarkup 702s ok 20 /markup/parse/fail-1.gmarkup 702s ok 21 /markup/parse/fail-2.gmarkup 702s ok 22 /markup/parse/fail-21.gmarkup 702s ok 23 /markup/parse/fail-24.gmarkup 702s ok 24 /markup/parse/fail-16.gmarkup 702s ok 25 /markup/parse/fail-9.gmarkup 702s ok 26 /markup/parse/valid-8.gmarkup 702s ok 27 /markup/parse/fail-31.gmarkup 702s ok 28 /markup/parse/fail-12.gmarkup 702s ok 29 /markup/parse/fail-32.gmarkup 702s ok 30 /markup/parse/fail-23.gmarkup 702s ok 31 /markup/parse/fail-19.gmarkup 702s ok 32 /markup/parse/fail-10.gmarkup 702s ok 33 /markup/parse/valid-14.gmarkup 702s ok 34 /markup/parse/fail-47.gmarkup 702s ok 35 /markup/parse/fail-44.gmarkup 702s ok 36 /markup/parse/valid-5.gmarkup 702s ok 37 /markup/parse/fail-30.gmarkup 702s ok 38 /markup/parse/fail-39.gmarkup 702s ok 39 /markup/parse/fail-26.gmarkup 702s ok 40 /markup/parse/valid-3.gmarkup 702s ok 41 /markup/parse/valid-9.gmarkup 702s ok 42 /markup/parse/fail-37.gmarkup 702s ok 43 /markup/parse/fail-51.gmarkup 702s ok 44 /markup/parse/fail-35.gmarkup 702s ok 45 /markup/parse/valid-7.gmarkup 702s ok 46 /markup/parse/fail-42.gmarkup 702s ok 47 /markup/parse/valid-1.gmarkup 702s ok 48 /markup/parse/fail-50.gmarkup 702s ok 49 /markup/parse/fail-6.gmarkup 702s ok 50 /markup/parse/fail-43.gmarkup 702s ok 51 /markup/parse/fail-52.gmarkup 702s ok 52 /markup/parse/fail-14.gmarkup 702s ok 53 /markup/parse/fail-13.gmarkup 702s ok 54 /markup/parse/fail-41.gmarkup 702s ok 55 /markup/parse/fail-34.gmarkup 702s ok 56 /markup/parse/fail-8.gmarkup 702s ok 57 /markup/parse/fail-27.gmarkup 702s ok 58 /markup/parse/fail-20.gmarkup 702s ok 59 /markup/parse/valid-10.gmarkup 702s ok 60 /markup/parse/fail-5.gmarkup 702s ok 61 /markup/parse/fail-7.gmarkup 702s ok 62 /markup/parse/fail-25.gmarkup 702s ok 63 /markup/parse/fail-49.gmarkup 702s ok 64 /markup/parse/fail-29.gmarkup 702s ok 65 /markup/parse/fail-48.gmarkup 702s ok 66 /markup/parse/valid-12.gmarkup 702s ok 67 /markup/parse/fail-36.gmarkup 702s ok 68 /markup/parse/fail-33.gmarkup 702s ok 69 /markup/parse/fail-53.gmarkup 702s ok 70 /markup/parse/valid-2.gmarkup 702s ok 71 /markup/parse/fail-28.gmarkup 702s # End of parse tests 702s # End of markup tests 702s ok - glib/markup-parse.test 702s # Running test: glib/portal-support-flatpak-gsettings-only.test 702s TAP version 14 702s # random seed: R02Sc87d85cc3d506f662073b51499acbffa 702s 1..1 702s # Start of portal-support tests 702s # Start of flatpak tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/runtime 702s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_6SHU52/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 702s ok 1 /portal-support/flatpak/gsettings 702s # End of flatpak tests 702s # End of portal-support tests 702s ok - glib/portal-support-flatpak-gsettings-only.test 702s # Running test: glib/module-test-library.test 702s TAP version 14 702s # random seed: R02Sd914f4b234b66bf60293e75f4eda36ed 702s 1..3 702s # Start of module tests 702s ok 1 /module/basics 702s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 702s ok 2 /module/invalid-libtool-archive 702s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 702s ok 3 /module/local-binding 702s # End of module tests 702s ok - glib/module-test-library.test 702s # Running test: glib/srvtarget.test 702s TAP version 14 702s # random seed: R02S0d6e3294c2b8d47e89d062f7ef7ab022 702s 1..1 702s # Start of srvtarget tests 702s ok 1 /srvtarget/srv-target-ordering 702s # End of srvtarget tests 702s ok - glib/srvtarget.test 702s # Running test: glib/macros.test 702s TAP version 14 702s # random seed: R02Sf0959c680189397b234888572b44ab68 702s 1..3 702s # Start of alignof tests 702s ok 1 /alignof/fallback 702s # End of alignof tests 702s # Start of assert tests 702s ok 2 /assert/static 702s # End of assert tests 702s # Start of struct tests 702s ok 3 /struct/sizeof_member 702s # End of struct tests 702s ok - glib/macros.test 702s # Running test: glib/mem-overflow.test 702s TAP version 14 702s # random seed: R02Sbc97839b626877c60564f79b601466b3 702s 1..2 702s # Start of mem tests 702s ok 1 /mem/overflow 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 702s ok 2 /mem/empty-alloc 702s # Start of overflow tests 702s # Start of subprocess tests 702s # End of subprocess tests 702s # End of overflow tests 702s # Start of empty-alloc tests 702s # End of empty-alloc tests 702s # End of mem tests 702s ok - glib/mem-overflow.test 702s # Running test: glib/macros-c-17.test 702s TAP version 14 702s # random seed: R02Sebce59c1bbe6d4f3e4adda4e0a431db4 702s 1..4 702s # Start of C tests 702s ok 1 /C/standard-17 702s # End of C tests 702s # Start of alignof tests 702s ok 2 /alignof/fallback 702s # End of alignof tests 702s # Start of assert tests 702s ok 3 /assert/static 702s # End of assert tests 702s # Start of struct tests 702s ok 4 /struct/sizeof_member 702s # End of struct tests 702s ok - glib/macros-c-17.test 702s # Running test: glib/cmph-bdz.test 702s TAP version 14 702s # random seed: R02S18e195f5206a7ef5aa4ddc229c479844 702s 1..2 702s # Start of cmph-bdz tests 702s ok 1 /cmph-bdz/search 702s ok 2 /cmph-bdz/search-packed 702s # End of cmph-bdz tests 702s ok - glib/cmph-bdz.test 702s # Running test: glib/gdbus-server-auth.test 702s TAP version 14 702s # random seed: R02S48ed81c6de28a58e2cf4a459af93f0cd 702s 1..9 702s # Start of gdbus tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/.dirs/runtime 702s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-LHW452 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 702s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-LHW452/dbus-OSm2iNL9 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10961 702s ok 1 /gdbus/server-auth 702s # Start of server-auth tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/abstract/.dirs/runtime 702s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-UHN552 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 702s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-UHN552/dbus-4rBVpjcs 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 702s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 702s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10961 702s ok 2 /gdbus/server-auth/abstract 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/tcp/.dirs/runtime 702s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 702s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/.dirs/runtime 702s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-4CD552 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 702s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-4CD552/dbus-UW2lAVGL 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10961 702s ok 4 /gdbus/server-auth/anonymous 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/.dirs/runtime 702s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-TRK352 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 702s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-TRK352/dbus-L7JNv0O5 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10961 702s ok 5 /gdbus/server-auth/external 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/.dirs/runtime 702s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-TSP352 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 702s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 702s # Start of anonymous tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/anonymous/tcp/.dirs/runtime 702s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 702s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 702s # End of anonymous tests 702s # Start of external tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/external/require-same-user/.dirs/runtime 702s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-JKC352 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 702s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GLW452/gdbus-server-auth-JKC352/dbus-jTPkL6id 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 10961 702s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 702s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 702s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 702s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=10961,uid=1000,gid=1000 702s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 10961 702s ok 8 /gdbus/server-auth/external/require-same-user 702s # End of external tests 702s # Start of sha1 tests 702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/home 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/cache 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/system-config2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/config 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/system-data2 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/data 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/state 702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GLW452/gdbus/server-auth/sha1/tcp/.dirs/runtime 702s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 702s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 702s # End of sha1 tests 702s # End of server-auth tests 702s # End of gdbus tests 702s ok - glib/gdbus-server-auth.test 702s # Running test: glib/overflow-fallback.test 702s TAP version 14 702s # random seed: R02S80031d42ac94aba838d0f893b83af89f 702s 1..6 702s # Start of glib tests 702s # Start of checked-math tests 702s ok 1 /glib/checked-math/guint-add 702s ok 2 /glib/checked-math/guint-mul 702s ok 3 /glib/checked-math/guint64-add 702s ok 4 /glib/checked-math/guint64-mul 702s ok 5 /glib/checked-math/gsize-add 702s ok 6 /glib/checked-math/gsize-mul 702s # End of checked-math tests 702s # End of glib tests 702s ok - glib/overflow-fallback.test 702s # Running test: glib/option-context.test 702s TAP version 14 702s # random seed: R02Sec0f80afc55b3018afac81a398c506d1 702s 1..58 702s # Start of option tests 702s ok 1 /option/basic 702s ok 2 /option/translate 702s ok 3 /option/strict-posix 702s # Start of help tests 702s ok 4 /option/help/options 702s ok 5 /option/help/no-options 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 702s ok 6 /option/help/no-help-options 702s # Usage: 702s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla 702s # 702s # Summary 702s # 702s # Help Options: 702s # -h, --help Show help options 702s # 702s # Application Options: 702s # -t, --test=Argument to use in test (deprecated) Test tests 702s # --test2 Tests also 702s # 702s # Description 702s # 702s ok 7 /option/help/deprecated 702s # End of help tests 702s # Start of group tests 702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 703s ok 8 /option/group/captions 703s ok 9 /option/group/main 703s ok 10 /option/group/error-hook 703s ok 11 /option/group/parse 703s # Start of captions tests 703s # Start of subprocess tests 703s # End of subprocess tests 703s # End of captions tests 703s # End of group tests 703s # Start of restoration tests 703s ok 12 /option/restoration/int 703s ok 13 /option/restoration/string 703s ok 14 /option/restoration/boolean 703s # End of restoration tests 703s # Start of arg tests 703s ok 15 /option/arg/reverse-string 703s ok 16 /option/arg/optional-int 703s # Start of repetition tests 703s ok 17 /option/arg/repetition/int 703s ok 18 /option/arg/repetition/string 703s ok 19 /option/arg/repetition/filename 703s ok 20 /option/arg/repetition/double 703s ok 21 /option/arg/repetition/locale 703s ok 22 /option/arg/repetition/int64 703s # End of repetition tests 703s # Start of array tests 703s ok 23 /option/arg/array/string 703s # End of array tests 703s # Start of callback tests 703s ok 24 /option/arg/callback/string 703s ok 25 /option/arg/callback/count 703s ok 26 /option/arg/callback/optional1 703s ok 27 /option/arg/callback/optional2 703s ok 28 /option/arg/callback/optional3 703s ok 29 /option/arg/callback/optional4 703s ok 30 /option/arg/callback/optional5 703s ok 31 /option/arg/callback/optional6 703s ok 32 /option/arg/callback/optional7 703s ok 33 /option/arg/callback/optional8 703s # End of callback tests 703s # Start of remaining tests 703s ok 34 /option/arg/remaining/callback 703s ok 35 /option/arg/remaining/callback-false 703s ok 36 /option/arg/remaining/non-option 703s ok 37 /option/arg/remaining/separator 703s ok 38 /option/arg/remaining/array 703s # End of remaining tests 703s # Start of ignore tests 703s ok 39 /option/arg/ignore/long 703s ok 40 /option/arg/ignore/short 703s ok 41 /option/arg/ignore/arg 703s # End of ignore tests 703s # Start of rest tests 703s ok 42 /option/arg/rest/non-option 703s ok 43 /option/arg/rest/separator1 703s ok 44 /option/arg/rest/separator2 703s ok 45 /option/arg/rest/separator3 703s ok 46 /option/arg/rest/separator4 703s ok 47 /option/arg/rest/separator5 703s # End of rest tests 703s # End of arg tests 703s # Start of context tests 703s ok 48 /option/context/add 703s ok 49 /option/context/empty2 703s ok 50 /option/context/empty3 703s # End of context tests 703s # Start of bug tests 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 703s ok 51 /option/bug/unknown-short 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 703s ok 52 /option/bug/lonely-dash 703s ok 53 /option/bug/triple-dash 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 703s ok 54 /option/bug/missing-arg 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 703s ok 55 /option/bug/dash-arg 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 703s ok 56 /option/bug/short-remaining 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 703s ok 57 /option/bug/double-free 703s ok 58 /option/bug/double-zero 703s # End of bug tests 703s # End of option tests 703s ok - glib/option-context.test 703s # Running test: glib/thumbnail-verification.test 703s TAP version 14 703s # random seed: R02S063fa027f990e2d45a7ba8e11d03d7e7 703s 1..1 703s # Start of png-thumbs tests 703s ok 1 /png-thumbs/validity 703s # End of png-thumbs tests 703s ok - glib/thumbnail-verification.test 703s # Running test: glib/markup.test 703s TAP version 14 703s # random seed: R02S79a1c5993e59c612785730334c9eafe8 703s 1..1 703s # Start of markup tests 703s ok 1 /markup/stack 703s # End of markup tests 703s ok - glib/markup.test 703s # Running test: glib/filter-streams.test 703s TAP version 14 703s # random seed: R02Sd6097b95d1aaa2342157161269bec3ce 703s 1..4 703s # Start of filter-stream tests 703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 703s ok 1 /filter-stream/input 703s ok 2 /filter-stream/output 703s ok 3 /filter-stream/async-input 703s ok 4 /filter-stream/async-output 703s # End of filter-stream tests 703s ok - glib/filter-streams.test 703s # Running test: glib/live-g-file.test 703s TAP version 14 703s # random seed: R02S61103c95bfa78ded941b2ad87da46d40 703s 1..13 703s # Start of live-g-file tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/prep_clean_structure/.dirs/runtime 703s # Cleaning target testing structure in '/tmp/test_live-g-file_JDC252/testdir_live-g-file'... 703s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 703s ok 1 /live-g-file/prep_clean_structure 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/create_structure/.dirs/runtime 703s # 703s # Going to create testing structure in '/tmp/test_live-g-file_JDC252/testdir_live-g-file'... 703s # Creating directory 'dir1'... 703s # Creating directory 'dir1/subdir'... 703s # Creating directory 'dir2'... 703s # Creating directory 'dir-target'... 703s # Creating directory 'dir_no-access'... 703s # Creating directory 'dir_no-write'... 703s # Creating file 'target-file'... 703s # Creating file 'normal_file'... 703s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 703s # Creating file 'executable_file'... 703s # Creating file 'private_file'... 703s # Creating file 'normal_file2'... 703s # Creating file 'readonly_file'... 703s # Creating file 'UTF_pr?i?lis? z'... 703s # Creating directory 'dir_pr?i?lis? z'... 703s # Creating symlink 'lost_symlink' --> 'nowhere'... 703s # Creating directory 'dir_hidden'... 703s # Creating file 'dir_hidden/.a-hidden-file'... 703s # Creating file 'dir_hidden/file-in-.hidden1'... 703s # Creating file 'dir_hidden/file-in-.hidden2'... 703s # Creating pattern file... 703s # done. 703s ok 2 /live-g-file/create_structure 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_initial_structure/.dirs/runtime 703s # Testing sample structure in '/tmp/test_live-g-file_JDC252/testdir_live-g-file'... 703s # Testing file 'dir1'... 703s # Testing file 'dir1/subdir'... 703s # Testing file 'dir2'... 703s # Testing file 'dir-target'... 703s # Testing file 'dir_no-access'... 703s # Testing file 'dir_no-write'... 703s # Testing file 'target-file'... 703s # Testing file 'normal_file'... 703s # Testing file 'normal_file-symlink'... 703s # Testing file 'executable_file'... 703s # Testing file 'private_file'... 703s # Testing file 'normal_file2'... 703s # Testing file 'readonly_file'... 703s # Testing file 'UTF_pr?i?lis? z'... 703s # Testing file 'dir_pr?i?lis? z'... 703s # Testing file 'lost_symlink'... 703s # Testing file 'dir_hidden'... 703s # Testing file 'dir_hidden/.a-hidden-file'... 703s # Testing file 'dir_hidden/file-in-.hidden1'... 703s # Testing file 'dir_hidden/file-in-.hidden2'... 703s # Testing pattern file... 703s # read 65536 bytes, total = 65536 of 65536. 703s ok 3 /live-g-file/test_initial_structure 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_traverse_structure/.dirs/runtime 703s # Traversing through the sample structure in '/tmp/test_live-g-file_JDC252/testdir_live-g-file'... 703s # Found file dir1, relative to root: dir1 703s # Found file subdir, relative to root: dir1/subdir 703s # Found file dir2, relative to root: dir2 703s # Found file dir-target, relative to root: dir-target 703s # Found file dir_no-access, relative to root: dir_no-access 703s # Found file dir_no-write, relative to root: dir_no-write 703s # Found file target-file, relative to root: target-file 703s # Found file normal_file, relative to root: normal_file 703s # Found file normal_file-symlink, relative to root: normal_file-symlink 703s # Found file executable_file, relative to root: executable_file 703s # Found file private_file, relative to root: private_file 703s # Found file normal_file2, relative to root: normal_file2 703s # Found file readonly_file, relative to root: readonly_file 703s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 703s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 703s # Found file lost_symlink, relative to root: lost_symlink 703s # Found file dir_hidden, relative to root: dir_hidden 703s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 703s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 703s # Found file .hidden, relative to root: dir_hidden/.hidden 703s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 703s # Found file pattern_file, relative to root: pattern_file 703s ok 4 /live-g-file/test_traverse_structure 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_enumerate/.dirs/runtime 703s # Test enumerate '/tmp/test_live-g-file_JDC252/testdir_live-g-file'... 703s # Testing file 'dir_no-access' 703s # Testing file 'normal_file' 703s # Testing file 'normal_file-symlink' 703s # Testing file 'not_exists' 703s # Testing file 'not_exists' 703s # Testing file 'not_exists2' 703s # Testing file 'not_exists3' 703s # Testing file 'not_exists4' 703s # Testing file 'dir_no-execute/file' 703s ok 5 /live-g-file/test_enumerate 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_open/.dirs/runtime 703s # test_open: 'dir1' 703s # test_open: 'dir_no-access' 703s # test_open: 'target-file' 703s # test_open: 'normal_file-symlink' 703s # test_open: 'executable_file' 703s # test_open: 'private_file' 703s # test_open: 'readonly_file' 703s # test_open: 'UTF_pr?i?lis? z' 703s # test_open: 'pattern_file' 703s # test_open: 'not_exists' 703s # test_open: 'dir_no-execute/file' 703s # test_open: 'lost_symlink' 703s ok 6 /live-g-file/test_open 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_create/.dirs/runtime 703s # test_create: 'dir1' 703s # error code 3 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir1?: Is a directory 703s # test_create: 'dir1/subdir' 703s # error code 3 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir1/subdir?: Is a directory 703s # test_create: 'dir2' 703s # error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir2?: File exists 703s # test_create: 'normal_file' 703s # error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/normal_file?: File exists 703s # test_create: 'executable_file' 703s # test_create: 'private_file' 703s # test_create: 'normal_file2' 703s # test_create: 'UTF_pr?i?lis? z' 703s # error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 703s # test_create: 'dir_pr?i?lis? z' 703s # error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_pr?i?lis? z?: File exists 703s # test_create: 'pattern_file' 703s # test_create: 'not_exists2' 703s # test_create: 'not_exists3' 703s # test_create: 'not_exists4' 703s ok 7 /live-g-file/test_create 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_copy_move/.dirs/runtime 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir1/subdir' --> 'dir-target' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir1/subdir' --> '.' 703s # res = 0, error code 2 = Target file exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir1/subdir' --> 'target-file' 703s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir1/subdir' --> 'not_exists' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir2' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir-target' --> 'dir-target' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir-target' --> '.' 703s # res = 0, error code 2 = Target file exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir-target' --> 'target-file' 703s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/dir-target?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir-target' --> 'not_exists' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir-target' --> 'dir_no-access' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'dir-target' --> 'dir_no-write' 703s # res = 0, error code 25 = Can?t recursively copy directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'target-file' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'target-file' --> '.' 703s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file?: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'target-file' --> 'target-file' 703s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/target-file?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'target-file' --> 'not_exists' 703s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/target-file?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'target-file' --> 'dir_no-access' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/target-file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'target-file' --> 'dir_no-write' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/target-file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file-symlink' --> '.' 703s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/normal_file-symlink: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file-symlink' --> 'target-file' 703s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 703s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 703s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 703s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'executable_file' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'executable_file' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'executable_file' --> '.' 703s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/executable_file?: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'executable_file' --> 'target-file' 703s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/executable_file?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'executable_file' --> 'not_exists' 703s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/executable_file?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'executable_file' --> 'dir_no-access' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'executable_file' --> 'dir_no-write' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'private_file' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'private_file' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'private_file' --> '.' 703s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/private_file?: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'private_file' --> 'target-file' 703s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/private_file?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'private_file' --> 'not_exists' 703s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/private_file?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'private_file' --> 'dir_no-access' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/private_file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'private_file' --> 'dir_no-write' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/private_file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file2' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file2' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file2' --> '.' 703s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/normal_file2?: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file2' --> 'target-file' 703s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/normal_file2?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file2' --> 'not_exists' 703s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file2' --> 'dir_no-access' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'normal_file2' --> 'dir_no-write' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 703s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 703s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 703s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'pattern_file' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'pattern_file' --> '.' 703s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/pattern_file?: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'pattern_file' --> 'target-file' 703s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/pattern_file?: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'pattern_file' --> 'not_exists' 703s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'pattern_file' --> 'dir_no-access' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'pattern_file' --> 'dir_no-write' 703s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'not_exists' --> 'dir-target' 703s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'not_exists' --> '.' 703s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'not_exists' --> 'target-file' 703s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'not_exists' --> 'not_exists' 703s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'not_exists' --> 'dir_no-access' 703s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'not_exists' --> 'dir_no-write' 703s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists?: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'not_exists' --> 'dir-target' 703s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'lost_symlink' --> 'dir-target' 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'lost_symlink' --> '.' 703s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/lost_symlink: File exists 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'lost_symlink' --> 'target-file' 703s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/target-file/lost_symlink: Not a directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'lost_symlink' --> 'not_exists' 703s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 703s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 703s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 703s ok 8 /live-g-file/test_copy_move 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_delete/.dirs/runtime 703s # Deleting dir1, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir1 703s # result = 0, error = Error removing file /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir1: Directory not empty 703s # Deleting dir2, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir2 703s # result = 0, error = Error removing file /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir2: No such file or directory 703s # Deleting executable_file, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/executable_file 703s # result = 0, error = Error trashing file /tmp/test_live-g-file_JDC252/testdir_live-g-file/executable_file: No such file or directory 703s # Deleting readonly_file, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/readonly_file 703s # Deleting dir_pr?i?lis? z, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_pr?i?lis? z 703s # Deleting not_exists, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists 703s # result = 0, error = Error removing file /tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists: No such file or directory 703s # Deleting not_exists, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists 703s # result = 0, error = Error trashing file /tmp/test_live-g-file_JDC252/testdir_live-g-file/not_exists: No such file or directory 703s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-execute/file 703s # result = 0, error = Error removing file /tmp/test_live-g-file_JDC252/testdir_live-g-file/dir_no-execute/file: No such file or directory 703s # Deleting lost_symlink, path = /tmp/test_live-g-file_JDC252/testdir_live-g-file/lost_symlink 703s ok 9 /live-g-file/test_delete 703s ok - glib/live-g-file.test 703s # Running test: glib/network-address.test 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_make_directory_with_parents/.dirs/runtime 703s # We do not have CAP_DAC_OVERRIDE or equivalent 703s ok 10 /live-g-file/test_make_directory_with_parents 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/final_clean/.dirs/runtime 703s # Cleaning target testing structure in '/tmp/test_live-g-file_JDC252/testdir_live-g-file'... 703s # deleting 'dir1' 703s # deleting 'subdir' 703s # deleting 'dir-target' 703s # deleting 'dir2' 703s # deleting 'target-file' 703s # deleting 'normal_file-symlink' 703s # deleting 'pattern_file' 703s # deleting 'executable_file' 703s # deleting 'private_file' 703s # deleting 'normal_file2' 703s # deleting 'UTF_pr?i?lis? z' 703s # deleting 'lost_symlink' 703s # deleting 'dir_no-access' 703s # deleting 'dir_no-write' 703s # deleting 'target-file' 703s # deleting 'normal_file' 703s # deleting 'normal_file-symlink' 703s # deleting 'executable_file~' 703s # deleting 'private_file' 703s # deleting 'normal_file2~' 703s # deleting 'a' 703s # deleting 'UTF_pr?i?lis? z' 703s # deleting 'dir_hidden' 703s # deleting '.a-hidden-file' 703s # deleting 'file-in-.hidden1' 703s # deleting '.hidden' 703s # deleting 'file-in-.hidden2' 703s # deleting 'pattern_file' 703s # deleting 'executable_file' 703s # deleting 'normal_file2' 703s # deleting 'not_exists2' 703s # deleting 'not_exists3' 703s # deleting 'not_exists4' 703s ok 11 /live-g-file/final_clean 703s # Start of test_unix_is_mountpoint tests 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 703s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 703s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 703s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_JDC252/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 703s ok 13 /live-g-file/test_unix_is_mountpoint/proc 703s # End of test_unix_is_mountpoint tests 703s # End of live-g-file tests 703s TAP version 14 703s # random seed: R02S101c735e6b13a75b1a548689a197580d 703s 1..72 703s # Start of network-address tests 703s ok 1 /network-address/basic 703s ok 2 /network-address/scope-id 703s ok 3 /network-address/uri-scope-id 703s ok 4 /network-address/to-string 703s # Start of parse-host tests 703s ok 5 /network-address/parse-host/0 703s ok 6 /network-address/parse-host/1 703s ok 7 /network-address/parse-host/2 703s ok 8 /network-address/parse-host/3 703s ok 9 /network-address/parse-host/4 703s ok 10 /network-address/parse-host/5 703s ok 11 /network-address/parse-host/6 703s ok 12 /network-address/parse-host/7 703s ok 13 /network-address/parse-host/8 703s ok 14 /network-address/parse-host/9 703s ok 15 /network-address/parse-host/10 703s ok 16 /network-address/parse-host/11 703s ok 17 /network-address/parse-host/12 703s ok 18 /network-address/parse-host/13 703s # End of parse-host tests 703s # Start of parse-uri tests 703s ok 19 /network-address/parse-uri/0 703s ok 20 /network-address/parse-uri/1 703s ok 21 /network-address/parse-uri/2 703s ok 22 /network-address/parse-uri/3 703s ok 23 /network-address/parse-uri/4 703s ok 24 /network-address/parse-uri/5 703s ok 25 /network-address/parse-uri/6 703s ok 26 /network-address/parse-uri/7 703s ok 27 /network-address/parse-uri/8 703s ok 28 /network-address/parse-uri/9 703s # End of parse-uri tests 703s # Start of resolve-address tests 703s # Input: 192.168.1.2 703s ok 29 /network-address/resolve-address/0 703s # Input: fe80::42 703s ok 30 /network-address/resolve-address/1 703s # Input: 192.168.1.2:80 703s ok 31 /network-address/resolve-address/2 703s # Input: [fe80::42] 703s ok 32 /network-address/resolve-address/3 703s # Input: [fe80::42]:80 703s ok 33 /network-address/resolve-address/4 703s # Input: 192.168.258 703s ok 34 /network-address/resolve-address/5 703s # Input: 192.11010306 703s ok 35 /network-address/resolve-address/6 703s # Input: 3232235778 703s ok 36 /network-address/resolve-address/7 703s # Input: 0300.0250.0001.0001 703s ok 37 /network-address/resolve-address/8 703s # Input: 0xC0.0xA8.0x01.0x02 703s ok 38 /network-address/resolve-address/9 703s # Input: 0xc0.0xa8.0x01.0x02 703s ok 39 /network-address/resolve-address/10 703s # Input: 0xc0a80102 703s ok 40 /network-address/resolve-address/11 703s # End of resolve-address tests 703s # Start of loopback tests 703s ok 41 /network-address/loopback/basic 703s ok 42 /network-address/loopback/sync 703s ok 43 /network-address/loopback/async 703s # End of loopback tests 703s # Start of localhost tests 703s ok 44 /network-address/localhost/async 703s ok 45 /network-address/localhost/sync 703s # End of localhost tests 703s # Start of happy-eyeballs tests 703s ok 46 /network-address/happy-eyeballs/basic 703s ok 47 /network-address/happy-eyeballs/parallel 703s ok 48 /network-address/happy-eyeballs/slow-ipv4 703s ok 49 /network-address/happy-eyeballs/slow-ipv6 703s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 703s # Executing: glib/network-address.test 704s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 704s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 704s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 704s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 704s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 704s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 704s # /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. 704s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 704s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 704s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 704s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 704s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 704s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 704s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 704s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 704s ok 57 /network-address/happy-eyeballs/both-error 704s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 704s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 704s ok 58 /network-address/happy-eyeballs/both-error-delays-1 704s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 704s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 704s ok 59 /network-address/happy-eyeballs/both-error-delays-2 704s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 704s ok 60 /network-address/happy-eyeballs/both-error-delays-3 704s # End of happy-eyeballs tests 704s # End of network-address tests 704s # Start of gresolver tests 704s # Start of resolve-address tests 704s # Input: 192.168.1.2 704s ok 61 /gresolver/resolve-address/0 704s # Input: fe80::42 704s ok 62 /gresolver/resolve-address/1 704s # Input: 192.168.1.2:80 704s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 704s ok 63 /gresolver/resolve-address/2 704s # Input: [fe80::42] 704s # Error: Error resolving ?[fe80::42]?: Name or service not known 704s ok 64 /gresolver/resolve-address/3 704s # Input: [fe80::42]:80 704s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 704s ok 65 /gresolver/resolve-address/4 704s # Input: 192.168.258 704s # Error: Error resolving ?192.168.258?: Name or service not known 704s ok 66 /gresolver/resolve-address/5 704s # Input: 192.11010306 704s # Error: Error resolving ?192.11010306?: Name or service not known 704s ok 67 /gresolver/resolve-address/6 704s # Input: 3232235778 704s # Error: Error resolving ?3232235778?: Name or service not known 704s ok 68 /gresolver/resolve-address/7 704s # Input: 0300.0250.0001.0001 704s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 704s ok 69 /gresolver/resolve-address/8 704s # Input: 0xC0.0xA8.0x01.0x02 704s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 704s ok 70 /gresolver/resolve-address/9 704s # Input: 0xc0.0xa8.0x01.0x02 704s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 704s ok 71 /gresolver/resolve-address/10 704s # Input: 0xc0a80102 704s # Error: Error resolving ?0xc0a80102?: Name or service not known 704s ok 72 /gresolver/resolve-address/11 704s # End of resolve-address tests 704s # End of gresolver tests 704s ok - glib/network-address.test 704s # Running test: glib/function-info.test 704s TAP version 14 704s # random seed: R02S473e4453ac0b2ecf807d243f3f4b2350 704s 1..1 704s # Start of function-info tests 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_XHW952/function-info/invoker/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_XHW952/function-info/invoker/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_XHW952/function-info/invoker/.dirs/runtime 704s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 704s # /function-info/invoker summary: Test preparing a function invoker 704s ok 1 /function-info/invoker 704s # End of function-info tests 704s ok - glib/function-info.test 704s # Running test: glib/portal-support-flatpak-network-only.test 704s TAP version 14 704s # random seed: R02S59d162bd143936f1023cc3aef9c21dab 704s 1..1 704s # Start of portal-support tests 704s # Start of flatpak tests 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/runtime 704s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_QT3952/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 704s ok 1 /portal-support/flatpak/network 704s # End of flatpak tests 704s # End of portal-support tests 704s ok - glib/portal-support-flatpak-network-only.test 704s # Running test: glib/gdbus-addresses.test 704s TAP version 14 704s # random seed: R02Sbbdd525af7008c5e21a90e4b5d9083bc 704s 1..9 704s # Start of gdbus tests 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/empty-address/.dirs/runtime 704s ok 1 /gdbus/empty-address 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/unsupported-address/.dirs/runtime 704s ok 2 /gdbus/unsupported-address 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/address-parsing/.dirs/runtime 704s ok 3 /gdbus/address-parsing 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/unix-address/.dirs/runtime 704s ok 4 /gdbus/unix-address 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/nonce-tcp-address/.dirs/runtime 704s ok 5 /gdbus/nonce-tcp-address 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/tcp-address/.dirs/runtime 704s ok 6 /gdbus/tcp-address 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/autolaunch-address/.dirs/runtime 704s ok 7 /gdbus/autolaunch-address 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/mixed-address/.dirs/runtime 704s ok 8 /gdbus/mixed-address 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_YGM952/gdbus/escape-address/.dirs/runtime 704s ok 9 /gdbus/escape-address 704s # End of gdbus tests 704s ok - glib/gdbus-addresses.test 704s # Running test: glib/dbus-appinfo.test 704s TAP version 14 704s # random seed: R02S98bd1db531b14e1c2e1e8c8572fccd25 704s 1..7 704s # Start of appinfo tests 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/runtime 704s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 704s ok 1 /appinfo/dbusappinfo 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/runtime 704s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 704s # Acquired a message bus connection 704s # Acquired the name org.freedesktop.portal.Documents 704s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VRS952/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/config 704s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 704s # fake-document-portal cancelled 704s ok 2 /appinfo/flatpak-doc-export 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/runtime 704s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 704s # Acquired a message bus connection 704s # Acquired the name org.freedesktop.portal.Documents 704s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/config 704s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 704s # fake-document-portal cancelled 704s ok 3 /appinfo/flatpak-missing-doc-export 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/runtime 704s # Acquired a message bus connection 704s # Acquired the name org.freedesktop.portal.Desktop 704s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VRS952/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/config 704s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 704s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 704s # Response emitted 704s # fake-desktop-portal cancelled 704s ok 4 /appinfo/portal-open-file 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/runtime 704s # Acquired a message bus connection 704s # Acquired the name org.freedesktop.portal.Desktop 704s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/config 704s # Got open file request for http://example.com 704s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 704s # Response emitted 704s # fake-desktop-portal cancelled 704s ok 5 /appinfo/portal-open-uri 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/runtime 704s # Acquired a message bus connection 704s # Acquired the name org.freedesktop.portal.Desktop 704s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/config 704s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 704s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio1587777137 704s # Response emitted 704s # fake-desktop-portal cancelled 704s ok 6 /appinfo/portal-open-file-async 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/runtime 704s # Acquired a message bus connection 704s # Acquired the name org.freedesktop.portal.Desktop 704s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_VRS952/appinfo/portal-open-uri-async/.dirs/config 704s # Got open file request for http://example.com 704s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio163867504 704s # Response emitted 704s # fake-desktop-portal cancelled 704s ok 7 /appinfo/portal-open-uri-async 704s # End of appinfo tests 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s ok - glib/dbus-appinfo.test 704s # Running test: glib/onceinit.test 704s TAP version 14 704s # random seed: R02Sf759d89c7a27fba4f511e2007dc0f3d2 704s 1..1 704s # Start of thread tests 704s ok 1 /thread/onceinit 704s # End of thread tests 704s ok - glib/onceinit.test 704s # Running test: glib/resources.test 704s TAP version 14 704s # random seed: R02S48ad8de859fbd745dc45cc6d0382327c 704s 1..19 704s # Start of resource tests 704s ok 1 /resource/file 704s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 704s ok 2 /resource/file-path 704s ok 3 /resource/data 704s ok 4 /resource/data_unaligned 704s ok 5 /resource/data-corrupt 704s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 704s ok 6 /resource/data-corrupt-compression 704s ok 7 /resource/data-empty 704s ok 8 /resource/registered 704s ok 9 /resource/manual 704s ok 10 /resource/manual2 704s ok 11 /resource/automatic 704s ok 12 /resource/module 704s ok 13 /resource/binary-linked 704s ok 14 /resource/64k 704s GLib-GIO-Message: 12:28:01.846: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 704s GLib-GIO-Message: 12:28:01.847: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 704s GLib-GIO-Message: 12:28:01.847: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 704s ok 15 /resource/overlay 704s ok 16 /resource/digits 704s ok 17 /resource/has-children 704s # Start of uri tests 704s ok 18 /resource/uri/query-info 704s ok - glib/resources.test 704s ok 19 /resource/uri/file 704s # End of uri tests 704s # End of resource tests 704s # Running test: glib/once.test 704s TAP version 14 704s # random seed: R02S28f1d7c0280cd9dde18acc66da6359dc 704s 1..5 704s # Start of once tests 704s # /once/single-threaded summary: Test g_once() usage from a single thread 704s ok 1 /once/single-threaded 704s # /once/multi-threaded summary: Test g_once() usage from multiple threads 704s ok 2 /once/multi-threaded 704s # End of once tests 704s # Start of once-init tests 704s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 704s ok 3 /once-init/single-threaded 704s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 704s ok 4 /once-init/multi-threaded 704s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 704s ok 5 /once-init/string 704s # End of once-init tests 704s ok - glib/once.test 704s # Running test: glib/memory-monitor.test 704s TAP version 14 704s # random seed: R02Se106fdec45a7274c9aaf67b60bc2572d 704s 1..1 704s # Start of memory-monitor tests 704s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 704s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 704s ok 1 /memory-monitor/default 704s # End of memory-monitor tests 704s ok - glib/memory-monitor.test 704s # Running test: glib/cxx-03.test 704s TAP version 14 704s # random seed: R02S0763ada05c7faec6421f2a49b181a1df 704s 1..2 704s # Start of gtask tests 704s # 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. 704s ok 1 /gtask/name 704s # Start of name tests 704s # 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. 704s ok 2 /gtask/name/macro-wrapper 704s # End of name tests 704s # End of gtask tests 704s ok - glib/cxx-03.test 704s # Running test: glib/deprecated-properties.test 704s TAP version 14 704s # random seed: R02S13d41c3a84293d023c4f1fbc6827b9b8 704s 1..3 704s # Start of deprecated-properties tests 704s ok 1 /deprecated-properties/construct 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 704s ok 2 /deprecated-properties/default-construct 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 704s ok 3 /deprecated-properties/set 704s # End of deprecated-properties tests 704s ok - glib/deprecated-properties.test 704s # Running test: glib/ifaceproperties.test 704s ok - glib/ifaceproperties.test 704s TAP version 14 704s # random seed: R02S1b56ed33be4eb1b3a518e51252cce0c7 704s 1..7 704s # Start of interface tests 704s # Start of properties tests 704s ok 1 /interface/properties/set 704s ok 2 /interface/properties/notify 704s ok 3 /interface/properties/find-overridden 704s ok 4 /interface/properties/list-overridden 704s ok 5 /interface/properties/find-interface 704s ok 6 /interface/properties/list-interface 704s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 704s ok 7 /interface/properties/not-overridden 704s # End of properties tests 704s # End of interface tests 704s # Running test: glib/gdbus-method-invocation.test 704s TAP version 14 704s # random seed: R02S255bdcffc5b4ac540840ac798bd6aefb 704s 1..1 704s # Start of gdbus tests 704s # Start of method-invocation tests 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_BIM552/gdbus/method-invocation/return/.dirs/runtime 704s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 704s # Calling org.freedesktop.DBus.Properties.Get 704s # Calling org.freedesktop.DBus.Properties.Get 704s # Calling org.freedesktop.DBus.Properties.Get 704s # Calling org.freedesktop.DBus.Properties.Set 704s # Calling org.freedesktop.DBus.Properties.GetAll 704s # Calling org.example.Foo.WrongReturnType 704s # Calling org.example.Foo.GetFDs 704s # Calling org.example.Foo.GetFDs 704s # Calling org.example.Foo.ReturnError 704s # Calling org.example.Foo.CloseBeforeReturning 704s ok 1 /gdbus/method-invocation/return 704s # End of method-invocation tests 704s # End of gdbus tests 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 704s ok - glib/gdbus-method-invocation.test 704s # Running test: glib/contenttype.test 704s TAP version 14 704s # random seed: R02Seee97539435c7f7ec2042a49e2169d94 704s 1..14 704s # Start of contenttype tests 704s ok 1 /contenttype/guess 704s ok 2 /contenttype/guess_svg_from_data 704s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 704s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 704s ok 5 /contenttype/unknown 704s ok 6 /contenttype/subtype 704s ok 7 /contenttype/list 704s ok 8 /contenttype/executable 704s ok 9 /contenttype/description 704s ok 10 /contenttype/icon 704s ok 11 /contenttype/symbolic-icon 704s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 704s ok 12 /contenttype/tree 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 704s ok 13 /contenttype/tree_invalid_encoding 704s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 704s ok 14 /contenttype/test_type_is_a_special_case 704s # End of contenttype tests 704s ok - glib/contenttype.test 704s # Running test: glib/thread.test 704s TAP version 14 704s # random seed: R02S360581030c8d989cfe060c2eb5d4854a 704s 1..7 704s # Start of thread tests 704s ok 1 /thread/thread1 704s ok 2 /thread/thread2 704s ok 3 /thread/thread3 704s ok 4 /thread/thread4 704s ok 5 /thread/thread5 704s ok 6 /thread/thread6 704s ok 7 /thread/thread7 704s # End of thread tests 704s ok - glib/thread.test 704s # Running test: glib/gdbus-connection-flush.test 704s TAP version 14 704s # random seed: R02S2e544199a5def652afb3c889da54cc8b 704s 1..2 704s # Start of gdbus tests 704s # Start of connection tests 704s # Start of flush tests 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/busy/.dirs/runtime 704s ok 1 /gdbus/connection/flush/busy 704s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/home 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/cache 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/system-config2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/config 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/system-data2 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/data 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/state 704s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_GNB452/gdbus/connection/flush/idle/.dirs/runtime 704s ok 2 /gdbus/connection/flush/idle 704s # End of flush tests 704s # End of connection tests 704s # End of gdbus tests 704s ok - glib/gdbus-connection-flush.test 704s # Running test: glib/enums.test 704s TAP version 14 704s # random seed: R02S6ef43adb8b631f8703f27a31cf311aff 704s 1..4 704s # Start of enum tests 704s ok 1 /enum/basic 704s ok 2 /enum/define-type 704s # End of enum tests 704s # Start of flags tests 704s ok 3 /flags/basic 704s ok 4 /flags/define-type 704s # End of flags tests 704s ok - glib/enums.test 704s # Running test: glib/codegen.py.test 705s TAP version 13 705s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmp729e39l8 705s # /tmp/tmp729e39l8/tmpd30x88ju.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp729e39l8/tmpd30x88ju.xml', '--output', '-', '--header'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifndef __STDOUT__ 705s # #define __STDOUT__ 705s # 705s # #include 705s # 705s # G_BEGIN_DECLS 705s # 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # /* Declarations for org.project.UsefulInterface */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 705s # 705s # struct _OrgProjectUsefulInterface; 705s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 705s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 705s # 705s # struct _OrgProjectUsefulInterfaceIface 705s # { 705s # GTypeInterface parent_iface; 705s # 705s # gboolean (*handle_useful_method) ( 705s # OrgProjectUsefulInterface *object, 705s # GDBusMethodInvocation *invocation); 705s # 705s # }; 705s # 705s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 705s # 705s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 705s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 705s # 705s # 705s # /* D-Bus method call completion functions: */ 705s # void org_project_useful_interface_complete_useful_method ( 705s # OrgProjectUsefulInterface *object, 705s # GDBusMethodInvocation *invocation); 705s # 705s # 705s # 705s # /* D-Bus method calls: */ 705s # void org_project_useful_interface_call_useful_method ( 705s # OrgProjectUsefulInterface *proxy, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # 705s # gboolean org_project_useful_interface_call_useful_method_finish ( 705s # OrgProjectUsefulInterface *proxy, 705s # GAsyncResult *res, 705s # GError **error); 705s # 705s # gboolean org_project_useful_interface_call_useful_method_sync ( 705s # OrgProjectUsefulInterface *proxy, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # 705s # 705s # /* ---- */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 705s # 705s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 705s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 705s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 705s # 705s # struct _OrgProjectUsefulInterfaceProxy 705s # { 705s # /*< private >*/ 705s # GDBusProxy parent_instance; 705s # OrgProjectUsefulInterfaceProxyPrivate *priv; 705s # }; 705s # 705s # struct _OrgProjectUsefulInterfaceProxyClass 705s # { 705s # GDBusProxyClass parent_class; 705s # }; 705s # 705s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 705s # 705s # #if GLIB_CHECK_VERSION(2, 44, 0) 705s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 705s # #endif 705s # 705s # void org_project_useful_interface_proxy_new ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 705s # GAsyncResult *res, 705s # GError **error); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # void org_project_useful_interface_proxy_new_for_bus ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 705s # GAsyncResult *res, 705s # GError **error); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # 705s # /* ---- */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 705s # 705s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 705s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 705s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 705s # 705s # struct _OrgProjectUsefulInterfaceSkeleton 705s # { 705s # /*< private >*/ 705s # GDBusInterfaceSkeleton parent_instance; 705s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 705s # }; 705s # 705s # struct _OrgProjectUsefulInterfaceSkeletonClass 705s # { 705s # GDBusInterfaceSkeletonClass parent_class; 705s # }; 705s # 705s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 705s # 705s # #if GLIB_CHECK_VERSION(2, 44, 0) 705s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 705s # #endif 705s # 705s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 705s # 705s # 705s # G_END_DECLS 705s # 705s # #endif /* __STDOUT__ */ 705s # Error: 705s # 705s # /tmp/tmp729e39l8/tmp55fb81pe.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp729e39l8/tmp55fb81pe.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifndef __STDOUT__ 705s # #define __STDOUT__ 705s # 705s # #include 705s # 705s # G_BEGIN_DECLS 705s # 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # /* Declarations for org.project.UsefulInterface */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 705s # 705s # struct _OrgProjectUsefulInterface; 705s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 705s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 705s # 705s # struct _OrgProjectUsefulInterfaceIface 705s # { 705s # GTypeInterface parent_iface; 705s # 705s # gboolean (*handle_useful_method) ( 705s # OrgProjectUsefulInterface *object, 705s # GDBusMethodInvocation *invocation); 705s # 705s # }; 705s # 705s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 705s # 705s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 705s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 705s # 705s # 705s # /* D-Bus method call completion functions: */ 705s # void org_project_useful_interface_complete_useful_method ( 705s # OrgProjectUsefulInterface *object, 705s # GDBusMethodInvocation *invocation); 705s # 705s # 705s # 705s # /* D-Bus method calls: */ 705s # void org_project_useful_interface_call_useful_method ( 705s # OrgProjectUsefulInterface *proxy, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # 705s # gboolean org_project_useful_interface_call_useful_method_finish ( 705s # OrgProjectUsefulInterface *proxy, 705s # GAsyncResult *res, 705s # GError **error); 705s # 705s # gboolean org_project_useful_interface_call_useful_method_sync ( 705s # OrgProjectUsefulInterface *proxy, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # 705s # 705s # /* ---- */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 705s # 705s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 705s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 705s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 705s # 705s # struct _OrgProjectUsefulInterfaceProxy 705s # { 705s # /*< private >*/ 705s # GDBusProxy parent_instance; 705s # OrgProjectUsefulInterfaceProxyPrivate *priv; 705s # }; 705s # 705s # struct _OrgProjectUsefulInterfaceProxyClass 705s # { 705s # GDBusProxyClass parent_class; 705s # }; 705s # 705s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 705s # 705s # #if GLIB_CHECK_VERSION(2, 44, 0) 705s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 705s # #endif 705s # 705s # void org_project_useful_interface_proxy_new ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 705s # GAsyncResult *res, 705s # GError **error); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # void org_project_useful_interface_proxy_new_for_bus ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 705s # GAsyncResult *res, 705s # GError **error); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # 705s # /* ---- */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 705s # 705s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 705s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 705s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 705s # 705s # struct _OrgProjectUsefulInterfaceSkeleton 705s # { 705s # /*< private >*/ 705s # GDBusInterfaceSkeleton parent_instance; 705s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 705s # }; 705s # 705s # struct _OrgProjectUsefulInterfaceSkeletonClass 705s # { 705s # GDBusInterfaceSkeletonClass parent_class; 705s # }; 705s # 705s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 705s # 705s # #if GLIB_CHECK_VERSION(2, 44, 0) 705s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 705s # #endif 705s # 705s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 705s # 705s # 705s # G_END_DECLS 705s # 705s # #endif /* __STDOUT__ */ 705s # Error: 705s # 705s # /tmp/tmp729e39l8/tmpebdj5kgr.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp729e39l8/tmpebdj5kgr.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifndef __STDOUT__ 705s # #define __STDOUT__ 705s # 705s # #include 705s # 705s # G_BEGIN_DECLS 705s # 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # /* Declarations for org.project.UsefulInterface */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 705s # 705s # struct _OrgProjectUsefulInterface; 705s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 705s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 705s # 705s # struct _OrgProjectUsefulInterfaceIface 705s # { 705s # GTypeInterface parent_iface; 705s # 705s # gboolean (*handle_useful_method) ( 705s # OrgProjectUsefulInterface *object, 705s # GDBusMethodInvocation *invocation); 705s # 705s # }; 705s # 705s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 705s # 705s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 705s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 705s # 705s # 705s # /* D-Bus method call completion functions: */ 705s # void org_project_useful_interface_complete_useful_method ( 705s # OrgProjectUsefulInterface *object, 705s # GDBusMethodInvocation *invocation); 705s # 705s # 705s # 705s # /* D-Bus method calls: */ 705s # void org_project_useful_interface_call_useful_method ( 705s # OrgProjectUsefulInterface *proxy, 705s # GDBusCallFlags call_flags, 705s # gint timeout_msec, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # 705s # gboolean org_project_useful_interface_call_useful_method_finish ( 705s # OrgProjectUsefulInterface *proxy, 705s # GAsyncResult *res, 705s # GError **error); 705s # 705s # gboolean org_project_useful_interface_call_useful_method_sync ( 705s # OrgProjectUsefulInterface *proxy, 705s # GDBusCallFlags call_flags, 705s # gint timeout_msec, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # 705s # 705s # /* ---- */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 705s # 705s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 705s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 705s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 705s # 705s # struct _OrgProjectUsefulInterfaceProxy 705s # { 705s # /*< private >*/ 705s # GDBusProxy parent_instance; 705s # OrgProjectUsefulInterfaceProxyPrivate *priv; 705s # }; 705s # 705s # struct _OrgProjectUsefulInterfaceProxyClass 705s # { 705s # GDBusProxyClass parent_class; 705s # }; 705s # 705s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 705s # 705s # #if GLIB_CHECK_VERSION(2, 44, 0) 705s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 705s # #endif 705s # 705s # void org_project_useful_interface_proxy_new ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 705s # GAsyncResult *res, 705s # GError **error); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # void org_project_useful_interface_proxy_new_for_bus ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 705s # GAsyncResult *res, 705s # GError **error); 705s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error); 705s # 705s # 705s # /* ---- */ 705s # 705s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 705s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 705s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 705s # 705s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 705s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 705s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 705s # 705s # struct _OrgProjectUsefulInterfaceSkeleton 705s # { 705s # /*< private >*/ 705s # GDBusInterfaceSkeleton parent_instance; 705s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 705s # }; 705s # 705s # struct _OrgProjectUsefulInterfaceSkeletonClass 705s # { 705s # GDBusInterfaceSkeletonClass parent_class; 705s # }; 705s # 705s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 705s # 705s # #if GLIB_CHECK_VERSION(2, 44, 0) 705s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 705s # #endif 705s # 705s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 705s # 705s # 705s # G_END_DECLS 705s # 705s # #endif /* __STDOUT__ */ 705s # Error: 705s ok 2 __main__.TestCodegen.test_dbus_types 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmpzs_gq2y2 705s # /tmp/tmpzs_gq2y2/tmpy60tfqse.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpy60tfqse.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 705s # /tmp/tmpzs_gq2y2/tmpz4xbwtk9.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpz4xbwtk9.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 705s # /tmp/tmpzs_gq2y2/tmpwbpi4qcv.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpwbpi4qcv.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 705s # /tmp/tmpzs_gq2y2/tmpqjudcgcf.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpqjudcgcf.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 705s # /tmp/tmpzs_gq2y2/tmpjyj_awfr.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpjyj_awfr.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 705s # /tmp/tmpzs_gq2y2/tmpywlrntdc.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpywlrntdc.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 705s # /tmp/tmpzs_gq2y2/tmp5g3z_xmf.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmp5g3z_xmf.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 705s # /tmp/tmpzs_gq2y2/tmp28icc6m7.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmp28icc6m7.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 705s # /tmp/tmpzs_gq2y2/tmpcjd3gdbv.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpcjd3gdbv.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 705s # /tmp/tmpzs_gq2y2/tmptbb7o6dp.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmptbb7o6dp.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: D-Bus maximum signature length of 255 exceeded. 705s # /tmp/tmpzs_gq2y2/tmppoq2o3_q.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmppoq2o3_q.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: D-Bus maximum signature length of 255 exceeded. 705s # /tmp/tmpzs_gq2y2/tmph7unfunl.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmph7unfunl.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 705s # /tmp/tmpzs_gq2y2/tmpta6gi3rg.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmpta6gi3rg.xml', '--output', '-', '--body'] 705s # Return code: 1 705s # Output: 705s # 705s # Error: 705s # ERROR: D-Bus maximum signature length of 255 exceeded. 705s # /tmp/tmpzs_gq2y2/tmplw_e9anb.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmplw_e9anb.xml', '--output', '-', '--body'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifdef HAVE_CONFIG_H 705s # # include "config.h" 705s # #endif 705s # 705s # #include 705s # #ifdef G_OS_UNIX 705s # # include 705s # #endif 705s # 705s # #ifdef G_ENABLE_DEBUG 705s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 705s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 705s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 705s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 705s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 705s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 705s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 705s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 705s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 705s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 705s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 705s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 705s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 705s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 705s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 705s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 705s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 705s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 705s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 705s # #else /* !G_ENABLE_DEBUG */ 705s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 705s # * Do not access GValues directly in your code. Instead, use the 705s # * g_value_get_*() functions 705s # */ 705s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 705s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 705s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 705s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 705s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 705s # #endif /* !G_ENABLE_DEBUG */ 705s # 705s # typedef struct 705s # { 705s # GDBusArgInfo parent_struct; 705s # gboolean use_gvariant; 705s # } _ExtendedGDBusArgInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusMethodInfo parent_struct; 705s # const gchar *signal_name; 705s # gboolean pass_fdlist; 705s # } _ExtendedGDBusMethodInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusSignalInfo parent_struct; 705s # const gchar *signal_name; 705s # } _ExtendedGDBusSignalInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusPropertyInfo parent_struct; 705s # const gchar *hyphen_name; 705s # guint use_gvariant : 1; 705s # guint emits_changed_signal : 1; 705s # } _ExtendedGDBusPropertyInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusInterfaceInfo parent_struct; 705s # const gchar *hyphen_name; 705s # } _ExtendedGDBusInterfaceInfo; 705s # 705s # typedef struct 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # guint prop_id; 705s # GValue orig_value; /* the value before the change */ 705s # } ChangedProperty; 705s # 705s # static void 705s # _changed_property_free (ChangedProperty *data) 705s # { 705s # g_value_unset (&data->orig_value); 705s # g_free (data); 705s # } 705s # 705s # static gboolean 705s # _g_strv_equal0 (gchar **a, gchar **b) 705s # { 705s # gboolean ret = FALSE; 705s # guint n; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # if (g_strv_length (a) != g_strv_length (b)) 705s # goto out; 705s # for (n = 0; a[n] != NULL; n++) 705s # if (g_strcmp0 (a[n], b[n]) != 0) 705s # goto out; 705s # ret = TRUE; 705s # out: 705s # return ret; 705s # } 705s # 705s # static gboolean 705s # _g_variant_equal0 (GVariant *a, GVariant *b) 705s # { 705s # gboolean ret = FALSE; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # ret = g_variant_equal (a, b); 705s # out: 705s # return ret; 705s # } 705s # 705s # G_GNUC_UNUSED static gboolean 705s # _g_value_equal (const GValue *a, const GValue *b) 705s # { 705s # gboolean ret = FALSE; 705s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 705s # switch (G_VALUE_TYPE (a)) 705s # { 705s # case G_TYPE_BOOLEAN: 705s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 705s # break; 705s # case G_TYPE_UCHAR: 705s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 705s # break; 705s # case G_TYPE_INT: 705s # ret = (g_value_get_int (a) == g_value_get_int (b)); 705s # break; 705s # case G_TYPE_UINT: 705s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 705s # break; 705s # case G_TYPE_INT64: 705s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 705s # break; 705s # case G_TYPE_UINT64: 705s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 705s # break; 705s # case G_TYPE_DOUBLE: 705s # { 705s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 705s # gdouble da = g_value_get_double (a); 705s # gdouble db = g_value_get_double (b); 705s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 705s # } 705s # break; 705s # case G_TYPE_STRING: 705s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 705s # break; 705s # case G_TYPE_VARIANT: 705s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 705s # break; 705s # default: 705s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 705s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 705s # else 705s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 705s # break; 705s # } 705s # return ret; 705s # } 705s # 705s # /* ------------------------------------------------------------------------ 705s # * Code for interface GoodTypes 705s # * ------------------------------------------------------------------------ 705s # */ 705s # 705s # /** 705s # * SECTION:GoodTypes 705s # * @title: GoodTypes 705s # * @short_description: Generated C code for the GoodTypes D-Bus interface 705s # * 705s # * This section contains code for working with the GoodTypes D-Bus interface in C. 705s # */ 705s # 705s # /* ---- Introspection data for GoodTypes ---- */ 705s # 705s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 705s # { 705s # { 705s # -1, 705s # (gchar *) "GoodPropertyType", 705s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 705s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 705s # NULL 705s # }, 705s # "good-property-type", 705s # FALSE, 705s # TRUE 705s # }; 705s # 705s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 705s # { 705s # &_good_types_property_info_good_property_type.parent_struct, 705s # NULL 705s # }; 705s # 705s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 705s # { 705s # { 705s # -1, 705s # (gchar *) "GoodTypes", 705s # NULL, 705s # NULL, 705s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 705s # NULL 705s # }, 705s # "good-types", 705s # }; 705s # 705s # 705s # /** 705s # * good_types_interface_info: 705s # * 705s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 705s # * 705s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 705s # */ 705s # GDBusInterfaceInfo * 705s # good_types_interface_info (void) 705s # { 705s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 705s # } 705s # 705s # /** 705s # * good_types_override_properties: 705s # * @klass: The class structure for a #GObject derived class. 705s # * @property_id_begin: The property id to assign to the first overridden property. 705s # * 705s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 705s # * The properties are overridden in the order they are defined. 705s # * 705s # * Returns: The last property id. 705s # */ 705s # guint 705s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 705s # { 705s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 705s # return property_id_begin - 1; 705s # } 705s # 705s # 705s # 705s # /** 705s # * GoodTypes: 705s # * 705s # * Abstract interface type for the D-Bus interface GoodTypes. 705s # */ 705s # 705s # /** 705s # * GoodTypesIface: 705s # * @parent_iface: The parent interface. 705s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 705s # * 705s # * Virtual table for the D-Bus interface GoodTypes. 705s # */ 705s # 705s # typedef GoodTypesIface GoodTypesInterface; 705s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 705s # 705s # static void 705s # good_types_default_init (GoodTypesIface *iface) 705s # { 705s # /* GObject properties for D-Bus properties: */ 705s # /** 705s # * GoodTypes:good-property-type: 705s # * 705s # * Represents the D-Bus property "GoodPropertyType". 705s # * 705s # * 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. 705s # */ 705s # g_object_interface_install_property (iface, 705s # 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)); 705s # } 705s # 705s # /** 705s # * good_types_get_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * 705s # * Gets the value of the "GoodPropertyType" D-Bus property. 705s # * 705s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 705s # * 705s # * 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. 705s # * 705s # * 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. 705s # */ 705s # GVariant * 705s # good_types_get_good_property_type (GoodTypes *object) 705s # { 705s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 705s # 705s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 705s # } 705s # 705s # /** 705s # * good_types_dup_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * 705s # * Gets a copy of the "GoodPropertyType" D-Bus property. 705s # * 705s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 705s # * 705s # * 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(). 705s # */ 705s # GVariant * 705s # good_types_dup_good_property_type (GoodTypes *object) 705s # { 705s # GVariant *value; 705s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 705s # return value; 705s # } 705s # 705s # /** 705s # * good_types_set_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * @value: The value to set. 705s # * 705s # * Sets the "GoodPropertyType" D-Bus property to @value. 705s # * 705s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 705s # */ 705s # void 705s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 705s # { 705s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 705s # } 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # 705s # /** 705s # * GoodTypesProxy: 705s # * 705s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 705s # */ 705s # 705s # /** 705s # * GoodTypesProxyClass: 705s # * @parent_class: The parent class. 705s # * 705s # * Class structure for GoodTypesProxy. 705s # */ 705s # 705s # struct _GoodTypesProxyPrivate 705s # { 705s # GData *qdata; 705s # }; 705s # 705s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 705s # G_ADD_PRIVATE (GoodTypesProxy) 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 705s # 705s # #else 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 705s # 705s # #endif 705s # static void 705s # good_types_proxy_finalize (GObject *object) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 705s # g_datalist_clear (&proxy->priv->qdata); 705s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 705s # } 705s # 705s # static void 705s # good_types_proxy_get_property (GObject *object, 705s # guint prop_id, 705s # GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GVariant *variant; 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 705s # if (info->use_gvariant) 705s # { 705s # g_value_set_variant (value, variant); 705s # } 705s # else 705s # { 705s # if (variant != NULL) 705s # g_dbus_gvariant_to_gvalue (variant, value); 705s # } 705s # if (variant != NULL) 705s # g_variant_unref (variant); 705s # } 705s # 705s # static void 705s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 705s # GAsyncResult *res, 705s # gpointer user_data) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info = user_data; 705s # GError *error; 705s # GVariant *_ret; 705s # error = NULL; 705s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 705s # if (!_ret) 705s # { 705s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 705s # info->parent_struct.name, 705s # error->message, g_quark_to_string (error->domain), error->code); 705s # g_error_free (error); 705s # } 705s # else 705s # { 705s # g_variant_unref (_ret); 705s # } 705s # } 705s # 705s # static void 705s # good_types_proxy_set_property (GObject *object, 705s # guint prop_id, 705s # const GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GVariant *variant; 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 705s # g_dbus_proxy_call (G_DBUS_PROXY (object), 705s # "org.freedesktop.DBus.Properties.Set", 705s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 705s # G_DBUS_CALL_FLAGS_NONE, 705s # -1, 705s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 705s # g_variant_unref (variant); 705s # } 705s # 705s # static void 705s # good_types_proxy_g_signal (GDBusProxy *proxy, 705s # const gchar *sender_name G_GNUC_UNUSED, 705s # const gchar *signal_name, 705s # GVariant *parameters) 705s # { 705s # _ExtendedGDBusSignalInfo *info; 705s # GVariantIter iter; 705s # GVariant *child; 705s # GValue *paramv; 705s # gsize num_params; 705s # gsize n; 705s # guint signal_id; 705s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 705s # if (info == NULL) 705s # return; 705s # num_params = g_variant_n_children (parameters); 705s # paramv = g_new0 (GValue, num_params + 1); 705s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 705s # g_value_set_object (¶mv[0], proxy); 705s # g_variant_iter_init (&iter, parameters); 705s # n = 1; 705s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 705s # { 705s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 705s # if (arg_info->use_gvariant) 705s # { 705s # g_value_init (¶mv[n], G_TYPE_VARIANT); 705s # g_value_set_variant (¶mv[n], child); 705s # n++; 705s # } 705s # else 705s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 705s # g_variant_unref (child); 705s # } 705s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 705s # g_signal_emitv (paramv, signal_id, 0, NULL); 705s # for (n = 0; n < num_params + 1; n++) 705s # g_value_unset (¶mv[n]); 705s # g_free (paramv); 705s # } 705s # 705s # static void 705s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 705s # GVariant *changed_properties, 705s # const gchar *const *invalidated_properties) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 705s # guint n; 705s # const gchar *key; 705s # GVariantIter *iter; 705s # _ExtendedGDBusPropertyInfo *info; 705s # g_variant_get (changed_properties, "a{sv}", &iter); 705s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 705s # { 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 705s # g_datalist_remove_data (&proxy->priv->qdata, key); 705s # if (info != NULL) 705s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 705s # } 705s # g_variant_iter_free (iter); 705s # for (n = 0; invalidated_properties[n] != NULL; n++) 705s # { 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 705s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 705s # if (info != NULL) 705s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 705s # } 705s # } 705s # 705s # static GVariant * 705s # good_types_proxy_get_good_property_type (GoodTypes *object) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 705s # GVariant *variant; 705s # GVariant *value = NULL; 705s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 705s # value = variant; 705s # if (variant != NULL) 705s # g_variant_unref (variant); 705s # return value; 705s # } 705s # 705s # static void 705s # good_types_proxy_init (GoodTypesProxy *proxy) 705s # { 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # proxy->priv = good_types_proxy_get_instance_private (proxy); 705s # #else 705s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 705s # #endif 705s # 705s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 705s # } 705s # 705s # static void 705s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 705s # { 705s # GObjectClass *gobject_class; 705s # GDBusProxyClass *proxy_class; 705s # 705s # gobject_class = G_OBJECT_CLASS (klass); 705s # gobject_class->finalize = good_types_proxy_finalize; 705s # gobject_class->get_property = good_types_proxy_get_property; 705s # gobject_class->set_property = good_types_proxy_set_property; 705s # 705s # proxy_class = G_DBUS_PROXY_CLASS (klass); 705s # proxy_class->g_signal = good_types_proxy_g_signal; 705s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 705s # 705s # good_types_override_properties (gobject_class, 1); 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 705s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 705s # #endif 705s # } 705s # 705s # static void 705s # good_types_proxy_iface_init (GoodTypesIface *iface) 705s # { 705s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new: 705s # * @connection: A #GDBusConnection. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 705s # * @user_data: User data to pass to @callback. 705s # * 705s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 705s # * 705s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 705s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 705s # * 705s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 705s # */ 705s # void 705s # good_types_proxy_new ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data) 705s # { 705s # 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); 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_finish: 705s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 705s # * @error: Return location for error or %NULL 705s # * 705s # * Finishes an operation started with good_types_proxy_new(). 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_finish ( 705s # GAsyncResult *res, 705s # GError **error) 705s # { 705s # GObject *ret; 705s # GObject *source_object; 705s # source_object = g_async_result_get_source_object (res); 705s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 705s # g_object_unref (source_object); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_sync: 705s # * @connection: A #GDBusConnection. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @error: Return location for error or %NULL 705s # * 705s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 705s # * 705s # * The calling thread is blocked until a reply is received. 705s # * 705s # * See good_types_proxy_new() for the asynchronous version of this constructor. 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_sync ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error) 705s # { 705s # GInitable *ret; 705s # 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); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # 705s # /** 705s # * good_types_proxy_new_for_bus: 705s # * @bus_type: A #GBusType. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: A bus name (well-known or unique). 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 705s # * @user_data: User data to pass to @callback. 705s # * 705s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 705s # * 705s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 705s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 705s # * 705s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 705s # */ 705s # void 705s # good_types_proxy_new_for_bus ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data) 705s # { 705s # 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); 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_for_bus_finish: 705s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 705s # * @error: Return location for error or %NULL 705s # * 705s # * Finishes an operation started with good_types_proxy_new_for_bus(). 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_for_bus_finish ( 705s # GAsyncResult *res, 705s # GError **error) 705s # { 705s # GObject *ret; 705s # GObject *source_object; 705s # source_object = g_async_result_get_source_object (res); 705s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 705s # g_object_unref (source_object); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_for_bus_sync: 705s # * @bus_type: A #GBusType. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: A bus name (well-known or unique). 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @error: Return location for error or %NULL 705s # * 705s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 705s # * 705s # * The calling thread is blocked until a reply is received. 705s # * 705s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_for_bus_sync ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error) 705s # { 705s # GInitable *ret; 705s # 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); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # 705s # /** 705s # * GoodTypesSkeleton: 705s # * 705s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 705s # */ 705s # 705s # /** 705s # * GoodTypesSkeletonClass: 705s # * @parent_class: The parent class. 705s # * 705s # * Class structure for GoodTypesSkeleton. 705s # */ 705s # 705s # struct _GoodTypesSkeletonPrivate 705s # { 705s # GValue *properties; 705s # GList *changed_properties; 705s # GSource *changed_properties_idle_source; 705s # GMainContext *context; 705s # GMutex lock; 705s # }; 705s # 705s # static void 705s # _good_types_skeleton_handle_method_call ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name, 705s # const gchar *method_name, 705s # GVariant *parameters, 705s # GDBusMethodInvocation *invocation, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # _ExtendedGDBusMethodInfo *info; 705s # GVariantIter iter; 705s # GVariant *child; 705s # GValue *paramv; 705s # gsize num_params; 705s # guint num_extra; 705s # gsize n; 705s # guint signal_id; 705s # GValue return_value = G_VALUE_INIT; 705s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 705s # g_assert (info != NULL); 705s # num_params = g_variant_n_children (parameters); 705s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 705s # n = 0; 705s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 705s # g_value_set_object (¶mv[n++], skeleton); 705s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 705s # g_value_set_object (¶mv[n++], invocation); 705s # if (info->pass_fdlist) 705s # { 705s # #ifdef G_OS_UNIX 705s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 705s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 705s # #else 705s # g_assert_not_reached (); 705s # #endif 705s # } 705s # g_variant_iter_init (&iter, parameters); 705s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 705s # { 705s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 705s # if (arg_info->use_gvariant) 705s # { 705s # g_value_init (¶mv[n], G_TYPE_VARIANT); 705s # g_value_set_variant (¶mv[n], child); 705s # n++; 705s # } 705s # else 705s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 705s # g_variant_unref (child); 705s # } 705s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 705s # g_value_init (&return_value, G_TYPE_BOOLEAN); 705s # g_signal_emitv (paramv, signal_id, 0, &return_value); 705s # if (!g_value_get_boolean (&return_value)) 705s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 705s # g_value_unset (&return_value); 705s # for (n = 0; n < num_params + num_extra; n++) 705s # g_value_unset (¶mv[n]); 705s # g_free (paramv); 705s # } 705s # 705s # static GVariant * 705s # _good_types_skeleton_handle_get_property ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name G_GNUC_UNUSED, 705s # const gchar *property_name, 705s # GError **error, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GValue value = G_VALUE_INIT; 705s # GParamSpec *pspec; 705s # _ExtendedGDBusPropertyInfo *info; 705s # GVariant *ret; 705s # ret = NULL; 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 705s # g_assert (info != NULL); 705s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 705s # if (pspec == NULL) 705s # { 705s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 705s # } 705s # else 705s # { 705s # g_value_init (&value, pspec->value_type); 705s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 705s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 705s # g_value_unset (&value); 705s # } 705s # return ret; 705s # } 705s # 705s # static gboolean 705s # _good_types_skeleton_handle_set_property ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name G_GNUC_UNUSED, 705s # const gchar *property_name, 705s # GVariant *variant, 705s # GError **error, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GValue value = G_VALUE_INIT; 705s # GParamSpec *pspec; 705s # _ExtendedGDBusPropertyInfo *info; 705s # gboolean ret; 705s # ret = FALSE; 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 705s # g_assert (info != NULL); 705s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 705s # if (pspec == NULL) 705s # { 705s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 705s # } 705s # else 705s # { 705s # if (info->use_gvariant) 705s # g_value_set_variant (&value, variant); 705s # else 705s # g_dbus_gvariant_to_gvalue (variant, &value); 705s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 705s # g_value_unset (&value); 705s # ret = TRUE; 705s # } 705s # return ret; 705s # } 705s # 705s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 705s # { 705s # _good_types_skeleton_handle_method_call, 705s # _good_types_skeleton_handle_get_property, 705s # _good_types_skeleton_handle_set_property, 705s # {NULL} 705s # }; 705s # 705s # static GDBusInterfaceInfo * 705s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 705s # { 705s # return good_types_interface_info (); 705s # } 705s # 705s # static GDBusInterfaceVTable * 705s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 705s # { 705s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 705s # } 705s # 705s # static GVariant * 705s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 705s # 705s # GVariantBuilder builder; 705s # guint n; 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 705s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # #else 705s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 705s # #endif 705s # if (_good_types_interface_info.parent_struct.properties == NULL) 705s # goto out; 705s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 705s # { 705s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 705s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 705s # { 705s # GVariant *value; 705s # 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); 705s # if (value != NULL) 705s # { 705s # g_variant_take_ref (value); 705s # g_variant_builder_add (&builder, "{sv}", info->name, value); 705s # g_variant_unref (value); 705s # } 705s # } 705s # } 705s # out: 705s # return g_variant_builder_end (&builder); 705s # } 705s # 705s # static gboolean _good_types_emit_changed (gpointer user_data); 705s # 705s # static void 705s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 705s # gboolean emit_changed = FALSE; 705s # 705s # g_mutex_lock (&skeleton->priv->lock); 705s # if (skeleton->priv->changed_properties_idle_source != NULL) 705s # { 705s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 705s # skeleton->priv->changed_properties_idle_source = NULL; 705s # emit_changed = TRUE; 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # 705s # if (emit_changed) 705s # _good_types_emit_changed (skeleton); 705s # } 705s # 705s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 705s # G_ADD_PRIVATE (GoodTypesSkeleton) 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 705s # 705s # #else 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 705s # 705s # #endif 705s # static void 705s # good_types_skeleton_finalize (GObject *object) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # guint n; 705s # for (n = 0; n < 1; n++) 705s # g_value_unset (&skeleton->priv->properties[n]); 705s # g_free (skeleton->priv->properties); 705s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 705s # if (skeleton->priv->changed_properties_idle_source != NULL) 705s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 705s # g_main_context_unref (skeleton->priv->context); 705s # g_mutex_clear (&skeleton->priv->lock); 705s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 705s # } 705s # 705s # static void 705s # good_types_skeleton_get_property (GObject *object, 705s # guint prop_id, 705s # GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # g_mutex_lock (&skeleton->priv->lock); 705s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # } 705s # 705s # static gboolean 705s # _good_types_emit_changed (gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GList *l; 705s # GVariantBuilder builder; 705s # GVariantBuilder invalidated_builder; 705s # guint num_changes; 705s # 705s # g_mutex_lock (&skeleton->priv->lock); 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 705s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 705s # #else 705s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 705s # #endif 705s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 705s # { 705s # ChangedProperty *cp = l->data; 705s # GVariant *variant; 705s # const GValue *cur_value; 705s # 705s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 705s # if (!_g_value_equal (cur_value, &cp->orig_value)) 705s # { 705s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 705s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 705s # g_variant_unref (variant); 705s # num_changes++; 705s # } 705s # } 705s # if (num_changes > 0) 705s # { 705s # GList *connections, *ll; 705s # GVariant *signal_variant; 705s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 705s # &builder, &invalidated_builder)); 705s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 705s # for (ll = connections; ll != NULL; ll = ll->next) 705s # { 705s # GDBusConnection *connection = ll->data; 705s # 705s # g_dbus_connection_emit_signal (connection, 705s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 705s # "org.freedesktop.DBus.Properties", 705s # "PropertiesChanged", 705s # signal_variant, 705s # NULL); 705s # } 705s # g_variant_unref (signal_variant); 705s # g_list_free_full (connections, g_object_unref); 705s # } 705s # else 705s # { 705s # g_variant_builder_clear (&builder); 705s # g_variant_builder_clear (&invalidated_builder); 705s # } 705s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 705s # skeleton->priv->changed_properties = NULL; 705s # skeleton->priv->changed_properties_idle_source = NULL; 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # return FALSE; 705s # } 705s # 705s # static void 705s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 705s # { 705s # ChangedProperty *cp; 705s # GList *l; 705s # cp = NULL; 705s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 705s # { 705s # ChangedProperty *i_cp = l->data; 705s # if (i_cp->info == info) 705s # { 705s # cp = i_cp; 705s # break; 705s # } 705s # } 705s # if (cp == NULL) 705s # { 705s # cp = g_new0 (ChangedProperty, 1); 705s # cp->prop_id = prop_id; 705s # cp->info = info; 705s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 705s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 705s # g_value_copy (orig_value, &cp->orig_value); 705s # } 705s # } 705s # 705s # static void 705s # good_types_skeleton_notify (GObject *object, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_mutex_lock (&skeleton->priv->lock); 705s # if (skeleton->priv->changed_properties != NULL && 705s # skeleton->priv->changed_properties_idle_source == NULL) 705s # { 705s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 705s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 705s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 705s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 705s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 705s # g_source_unref (skeleton->priv->changed_properties_idle_source); 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # } 705s # 705s # static void 705s # good_types_skeleton_set_property (GObject *object, 705s # guint prop_id, 705s # const GValue *value, 705s # GParamSpec *pspec) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # g_mutex_lock (&skeleton->priv->lock); 705s # g_object_freeze_notify (object); 705s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 705s # { 705s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 705s # info->emits_changed_signal) 705s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 705s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 705s # g_object_notify_by_pspec (object, pspec); 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # g_object_thaw_notify (object); 705s # } 705s # 705s # static void 705s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 705s # { 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 705s # #else 705s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 705s # #endif 705s # 705s # g_mutex_init (&skeleton->priv->lock); 705s # skeleton->priv->context = g_main_context_ref_thread_default (); 705s # skeleton->priv->properties = g_new0 (GValue, 1); 705s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 705s # } 705s # 705s # static GVariant * 705s # good_types_skeleton_get_good_property_type (GoodTypes *object) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # GVariant *value; 705s # g_mutex_lock (&skeleton->priv->lock); 705s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # return value; 705s # } 705s # 705s # static void 705s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 705s # { 705s # GObjectClass *gobject_class; 705s # GDBusInterfaceSkeletonClass *skeleton_class; 705s # 705s # gobject_class = G_OBJECT_CLASS (klass); 705s # gobject_class->finalize = good_types_skeleton_finalize; 705s # gobject_class->get_property = good_types_skeleton_get_property; 705s # gobject_class->set_property = good_types_skeleton_set_property; 705s # gobject_class->notify = good_types_skeleton_notify; 705s # 705s # 705s # good_types_override_properties (gobject_class, 1); 705s # 705s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 705s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 705s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 705s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 705s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 705s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 705s # #endif 705s # } 705s # 705s # static void 705s # good_types_skeleton_iface_init (GoodTypesIface *iface) 705s # { 705s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 705s # } 705s # 705s # /** 705s # * good_types_skeleton_new: 705s # * 705s # * Creates a skeleton object for the D-Bus interface GoodTypes. 705s # * 705s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 705s # */ 705s # GoodTypes * 705s # good_types_skeleton_new (void) 705s # { 705s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 705s # } 705s # Error: 705s # 705s # /tmp/tmpzs_gq2y2/tmp7dlen06r.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmp7dlen06r.xml', '--output', '-', '--body'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifdef HAVE_CONFIG_H 705s # # include "config.h" 705s # #endif 705s # 705s # #include 705s # #ifdef G_OS_UNIX 705s # # include 705s # #endif 705s # 705s # #ifdef G_ENABLE_DEBUG 705s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 705s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 705s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 705s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 705s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 705s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 705s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 705s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 705s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 705s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 705s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 705s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 705s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 705s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 705s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 705s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 705s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 705s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 705s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 705s # #else /* !G_ENABLE_DEBUG */ 705s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 705s # * Do not access GValues directly in your code. Instead, use the 705s # * g_value_get_*() functions 705s # */ 705s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 705s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 705s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 705s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 705s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 705s # #endif /* !G_ENABLE_DEBUG */ 705s # 705s # typedef struct 705s # { 705s # GDBusArgInfo parent_struct; 705s # gboolean use_gvariant; 705s # } _ExtendedGDBusArgInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusMethodInfo parent_struct; 705s # const gchar *signal_name; 705s # gboolean pass_fdlist; 705s # } _ExtendedGDBusMethodInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusSignalInfo parent_struct; 705s # const gchar *signal_name; 705s # } _ExtendedGDBusSignalInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusPropertyInfo parent_struct; 705s # const gchar *hyphen_name; 705s # guint use_gvariant : 1; 705s # guint emits_changed_signal : 1; 705s # } _ExtendedGDBusPropertyInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusInterfaceInfo parent_struct; 705s # const gchar *hyphen_name; 705s # } _ExtendedGDBusInterfaceInfo; 705s # 705s # typedef struct 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # guint prop_id; 705s # GValue orig_value; /* the value before the change */ 705s # } ChangedProperty; 705s # 705s # static void 705s # _changed_property_free (ChangedProperty *data) 705s # { 705s # g_value_unset (&data->orig_value); 705s # g_free (data); 705s # } 705s # 705s # static gboolean 705s # _g_strv_equal0 (gchar **a, gchar **b) 705s # { 705s # gboolean ret = FALSE; 705s # guint n; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # if (g_strv_length (a) != g_strv_length (b)) 705s # goto out; 705s # for (n = 0; a[n] != NULL; n++) 705s # if (g_strcmp0 (a[n], b[n]) != 0) 705s # goto out; 705s # ret = TRUE; 705s # out: 705s # return ret; 705s # } 705s # 705s # static gboolean 705s # _g_variant_equal0 (GVariant *a, GVariant *b) 705s # { 705s # gboolean ret = FALSE; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # ret = g_variant_equal (a, b); 705s # out: 705s # return ret; 705s # } 705s # 705s # G_GNUC_UNUSED static gboolean 705s # _g_value_equal (const GValue *a, const GValue *b) 705s # { 705s # gboolean ret = FALSE; 705s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 705s # switch (G_VALUE_TYPE (a)) 705s # { 705s # case G_TYPE_BOOLEAN: 705s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 705s # break; 705s # case G_TYPE_UCHAR: 705s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 705s # break; 705s # case G_TYPE_INT: 705s # ret = (g_value_get_int (a) == g_value_get_int (b)); 705s # break; 705s # case G_TYPE_UINT: 705s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 705s # break; 705s # case G_TYPE_INT64: 705s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 705s # break; 705s # case G_TYPE_UINT64: 705s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 705s # break; 705s # case G_TYPE_DOUBLE: 705s # { 705s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 705s # gdouble da = g_value_get_double (a); 705s # gdouble db = g_value_get_double (b); 705s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 705s # } 705s # break; 705s # case G_TYPE_STRING: 705s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 705s # break; 705s # case G_TYPE_VARIANT: 705s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 705s # break; 705s # default: 705s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 705s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 705s # else 705s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 705s # break; 705s # } 705s # return ret; 705s # } 705s # 705s # /* ------------------------------------------------------------------------ 705s # * Code for interface GoodTypes 705s # * ------------------------------------------------------------------------ 705s # */ 705s # 705s # /** 705s # * SECTION:GoodTypes 705s # * @title: GoodTypes 705s # * @short_description: Generated C code for the GoodTypes D-Bus interface 705s # * 705s # * This section contains code for working with the GoodTypes D-Bus interface in C. 705s # */ 705s # 705s # /* ---- Introspection data for GoodTypes ---- */ 705s # 705s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 705s # { 705s # { 705s # -1, 705s # (gchar *) "GoodPropertyType", 705s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 705s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 705s # NULL 705s # }, 705s # "good-property-type", 705s # FALSE, 705s # TRUE 705s # }; 705s # 705s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 705s # { 705s # &_good_types_property_info_good_property_type.parent_struct, 705s # NULL 705s # }; 705s # 705s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 705s # { 705s # { 705s # -1, 705s # (gchar *) "GoodTypes", 705s # NULL, 705s # NULL, 705s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 705s # NULL 705s # }, 705s # "good-types", 705s # }; 705s # 705s # 705s # /** 705s # * good_types_interface_info: 705s # * 705s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 705s # * 705s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 705s # */ 705s # GDBusInterfaceInfo * 705s # good_types_interface_info (void) 705s # { 705s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 705s # } 705s # 705s # /** 705s # * good_types_override_properties: 705s # * @klass: The class structure for a #GObject derived class. 705s # * @property_id_begin: The property id to assign to the first overridden property. 705s # * 705s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 705s # * The properties are overridden in the order they are defined. 705s # * 705s # * Returns: The last property id. 705s # */ 705s # guint 705s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 705s # { 705s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 705s # return property_id_begin - 1; 705s # } 705s # 705s # 705s # 705s # /** 705s # * GoodTypes: 705s # * 705s # * Abstract interface type for the D-Bus interface GoodTypes. 705s # */ 705s # 705s # /** 705s # * GoodTypesIface: 705s # * @parent_iface: The parent interface. 705s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 705s # * 705s # * Virtual table for the D-Bus interface GoodTypes. 705s # */ 705s # 705s # typedef GoodTypesIface GoodTypesInterface; 705s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 705s # 705s # static void 705s # good_types_default_init (GoodTypesIface *iface) 705s # { 705s # /* GObject properties for D-Bus properties: */ 705s # /** 705s # * GoodTypes:good-property-type: 705s # * 705s # * Represents the D-Bus property "GoodPropertyType". 705s # * 705s # * 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. 705s # */ 705s # g_object_interface_install_property (iface, 705s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 705s # } 705s # 705s # /** 705s # * good_types_get_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * 705s # * Gets the value of the "GoodPropertyType" D-Bus property. 705s # * 705s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 705s # * 705s # * 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. 705s # * 705s # * 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. 705s # */ 705s # GVariant * 705s # good_types_get_good_property_type (GoodTypes *object) 705s # { 705s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 705s # 705s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 705s # } 705s # 705s # /** 705s # * good_types_dup_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * 705s # * Gets a copy of the "GoodPropertyType" D-Bus property. 705s # * 705s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 705s # * 705s # * 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(). 705s # */ 705s # GVariant * 705s # good_types_dup_good_property_type (GoodTypes *object) 705s # { 705s # GVariant *value; 705s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 705s # return value; 705s # } 705s # 705s # /** 705s # * good_types_set_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * @value: The value to set. 705s # * 705s # * Sets the "GoodPropertyType" D-Bus property to @value. 705s # * 705s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 705s # */ 705s # void 705s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 705s # { 705s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 705s # } 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # 705s # /** 705s # * GoodTypesProxy: 705s # * 705s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 705s # */ 705s # 705s # /** 705s # * GoodTypesProxyClass: 705s # * @parent_class: The parent class. 705s # * 705s # * Class structure for GoodTypesProxy. 705s # */ 705s # 705s # struct _GoodTypesProxyPrivate 705s # { 705s # GData *qdata; 705s # }; 705s # 705s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 705s # G_ADD_PRIVATE (GoodTypesProxy) 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 705s # 705s # #else 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 705s # 705s # #endif 705s # static void 705s # good_types_proxy_finalize (GObject *object) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 705s # g_datalist_clear (&proxy->priv->qdata); 705s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 705s # } 705s # 705s # static void 705s # good_types_proxy_get_property (GObject *object, 705s # guint prop_id, 705s # GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GVariant *variant; 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 705s # if (info->use_gvariant) 705s # { 705s # g_value_set_variant (value, variant); 705s # } 705s # else 705s # { 705s # if (variant != NULL) 705s # g_dbus_gvariant_to_gvalue (variant, value); 705s # } 705s # if (variant != NULL) 705s # g_variant_unref (variant); 705s # } 705s # 705s # static void 705s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 705s # GAsyncResult *res, 705s # gpointer user_data) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info = user_data; 705s # GError *error; 705s # GVariant *_ret; 705s # error = NULL; 705s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 705s # if (!_ret) 705s # { 705s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 705s # info->parent_struct.name, 705s # error->message, g_quark_to_string (error->domain), error->code); 705s # g_error_free (error); 705s # } 705s # else 705s # { 705s # g_variant_unref (_ret); 705s # } 705s # } 705s # 705s # static void 705s # good_types_proxy_set_property (GObject *object, 705s # guint prop_id, 705s # const GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GVariant *variant; 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 705s # g_dbus_proxy_call (G_DBUS_PROXY (object), 705s # "org.freedesktop.DBus.Properties.Set", 705s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 705s # G_DBUS_CALL_FLAGS_NONE, 705s # -1, 705s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 705s # g_variant_unref (variant); 705s # } 705s # 705s # static void 705s # good_types_proxy_g_signal (GDBusProxy *proxy, 705s # const gchar *sender_name G_GNUC_UNUSED, 705s # const gchar *signal_name, 705s # GVariant *parameters) 705s # { 705s # _ExtendedGDBusSignalInfo *info; 705s # GVariantIter iter; 705s # GVariant *child; 705s # GValue *paramv; 705s # gsize num_params; 705s # gsize n; 705s # guint signal_id; 705s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 705s # if (info == NULL) 705s # return; 705s # num_params = g_variant_n_children (parameters); 705s # paramv = g_new0 (GValue, num_params + 1); 705s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 705s # g_value_set_object (¶mv[0], proxy); 705s # g_variant_iter_init (&iter, parameters); 705s # n = 1; 705s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 705s # { 705s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 705s # if (arg_info->use_gvariant) 705s # { 705s # g_value_init (¶mv[n], G_TYPE_VARIANT); 705s # g_value_set_variant (¶mv[n], child); 705s # n++; 705s # } 705s # else 705s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 705s # g_variant_unref (child); 705s # } 705s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 705s # g_signal_emitv (paramv, signal_id, 0, NULL); 705s # for (n = 0; n < num_params + 1; n++) 705s # g_value_unset (¶mv[n]); 705s # g_free (paramv); 705s # } 705s # 705s # static void 705s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 705s # GVariant *changed_properties, 705s # const gchar *const *invalidated_properties) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 705s # guint n; 705s # const gchar *key; 705s # GVariantIter *iter; 705s # _ExtendedGDBusPropertyInfo *info; 705s # g_variant_get (changed_properties, "a{sv}", &iter); 705s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 705s # { 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 705s # g_datalist_remove_data (&proxy->priv->qdata, key); 705s # if (info != NULL) 705s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 705s # } 705s # g_variant_iter_free (iter); 705s # for (n = 0; invalidated_properties[n] != NULL; n++) 705s # { 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 705s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 705s # if (info != NULL) 705s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 705s # } 705s # } 705s # 705s # static GVariant * 705s # good_types_proxy_get_good_property_type (GoodTypes *object) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 705s # GVariant *variant; 705s # GVariant *value = NULL; 705s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 705s # value = variant; 705s # if (variant != NULL) 705s # g_variant_unref (variant); 705s # return value; 705s # } 705s # 705s # static void 705s # good_types_proxy_init (GoodTypesProxy *proxy) 705s # { 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # proxy->priv = good_types_proxy_get_instance_private (proxy); 705s # #else 705s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 705s # #endif 705s # 705s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 705s # } 705s # 705s # static void 705s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 705s # { 705s # GObjectClass *gobject_class; 705s # GDBusProxyClass *proxy_class; 705s # 705s # gobject_class = G_OBJECT_CLASS (klass); 705s # gobject_class->finalize = good_types_proxy_finalize; 705s # gobject_class->get_property = good_types_proxy_get_property; 705s # gobject_class->set_property = good_types_proxy_set_property; 705s # 705s # proxy_class = G_DBUS_PROXY_CLASS (klass); 705s # proxy_class->g_signal = good_types_proxy_g_signal; 705s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 705s # 705s # good_types_override_properties (gobject_class, 1); 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 705s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 705s # #endif 705s # } 705s # 705s # static void 705s # good_types_proxy_iface_init (GoodTypesIface *iface) 705s # { 705s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new: 705s # * @connection: A #GDBusConnection. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 705s # * @user_data: User data to pass to @callback. 705s # * 705s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 705s # * 705s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 705s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 705s # * 705s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 705s # */ 705s # void 705s # good_types_proxy_new ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data) 705s # { 705s # 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); 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_finish: 705s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 705s # * @error: Return location for error or %NULL 705s # * 705s # * Finishes an operation started with good_types_proxy_new(). 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_finish ( 705s # GAsyncResult *res, 705s # GError **error) 705s # { 705s # GObject *ret; 705s # GObject *source_object; 705s # source_object = g_async_result_get_source_object (res); 705s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 705s # g_object_unref (source_object); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_sync: 705s # * @connection: A #GDBusConnection. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @error: Return location for error or %NULL 705s # * 705s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 705s # * 705s # * The calling thread is blocked until a reply is received. 705s # * 705s # * See good_types_proxy_new() for the asynchronous version of this constructor. 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_sync ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error) 705s # { 705s # GInitable *ret; 705s # 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); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # 705s # /** 705s # * good_types_proxy_new_for_bus: 705s # * @bus_type: A #GBusType. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: A bus name (well-known or unique). 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 705s # * @user_data: User data to pass to @callback. 705s # * 705s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 705s # * 705s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 705s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 705s # * 705s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 705s # */ 705s # void 705s # good_types_proxy_new_for_bus ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data) 705s # { 705s # 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); 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_for_bus_finish: 705s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 705s # * @error: Return location for error or %NULL 705s # * 705s # * Finishes an operation started with good_types_proxy_new_for_bus(). 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_for_bus_finish ( 705s # GAsyncResult *res, 705s # GError **error) 705s # { 705s # GObject *ret; 705s # GObject *source_object; 705s # source_object = g_async_result_get_source_object (res); 705s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 705s # g_object_unref (source_object); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_for_bus_sync: 705s # * @bus_type: A #GBusType. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: A bus name (well-known or unique). 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @error: Return location for error or %NULL 705s # * 705s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 705s # * 705s # * The calling thread is blocked until a reply is received. 705s # * 705s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_for_bus_sync ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error) 705s # { 705s # GInitable *ret; 705s # 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); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # 705s # /** 705s # * GoodTypesSkeleton: 705s # * 705s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 705s # */ 705s # 705s # /** 705s # * GoodTypesSkeletonClass: 705s # * @parent_class: The parent class. 705s # * 705s # * Class structure for GoodTypesSkeleton. 705s # */ 705s # 705s # struct _GoodTypesSkeletonPrivate 705s # { 705s # GValue *properties; 705s # GList *changed_properties; 705s # GSource *changed_properties_idle_source; 705s # GMainContext *context; 705s # GMutex lock; 705s # }; 705s # 705s # static void 705s # _good_types_skeleton_handle_method_call ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name, 705s # const gchar *method_name, 705s # GVariant *parameters, 705s # GDBusMethodInvocation *invocation, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # _ExtendedGDBusMethodInfo *info; 705s # GVariantIter iter; 705s # GVariant *child; 705s # GValue *paramv; 705s # gsize num_params; 705s # guint num_extra; 705s # gsize n; 705s # guint signal_id; 705s # GValue return_value = G_VALUE_INIT; 705s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 705s # g_assert (info != NULL); 705s # num_params = g_variant_n_children (parameters); 705s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 705s # n = 0; 705s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 705s # g_value_set_object (¶mv[n++], skeleton); 705s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 705s # g_value_set_object (¶mv[n++], invocation); 705s # if (info->pass_fdlist) 705s # { 705s # #ifdef G_OS_UNIX 705s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 705s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 705s # #else 705s # g_assert_not_reached (); 705s # #endif 705s # } 705s # g_variant_iter_init (&iter, parameters); 705s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 705s # { 705s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 705s # if (arg_info->use_gvariant) 705s # { 705s # g_value_init (¶mv[n], G_TYPE_VARIANT); 705s # g_value_set_variant (¶mv[n], child); 705s # n++; 705s # } 705s # else 705s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 705s # g_variant_unref (child); 705s # } 705s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 705s # g_value_init (&return_value, G_TYPE_BOOLEAN); 705s # g_signal_emitv (paramv, signal_id, 0, &return_value); 705s # if (!g_value_get_boolean (&return_value)) 705s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 705s # g_value_unset (&return_value); 705s # for (n = 0; n < num_params + num_extra; n++) 705s # g_value_unset (¶mv[n]); 705s # g_free (paramv); 705s # } 705s # 705s # static GVariant * 705s # _good_types_skeleton_handle_get_property ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name G_GNUC_UNUSED, 705s # const gchar *property_name, 705s # GError **error, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GValue value = G_VALUE_INIT; 705s # GParamSpec *pspec; 705s # _ExtendedGDBusPropertyInfo *info; 705s # GVariant *ret; 705s # ret = NULL; 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 705s # g_assert (info != NULL); 705s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 705s # if (pspec == NULL) 705s # { 705s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 705s # } 705s # else 705s # { 705s # g_value_init (&value, pspec->value_type); 705s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 705s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 705s # g_value_unset (&value); 705s # } 705s # return ret; 705s # } 705s # 705s # static gboolean 705s # _good_types_skeleton_handle_set_property ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name G_GNUC_UNUSED, 705s # const gchar *property_name, 705s # GVariant *variant, 705s # GError **error, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GValue value = G_VALUE_INIT; 705s # GParamSpec *pspec; 705s # _ExtendedGDBusPropertyInfo *info; 705s # gboolean ret; 705s # ret = FALSE; 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 705s # g_assert (info != NULL); 705s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 705s # if (pspec == NULL) 705s # { 705s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 705s # } 705s # else 705s # { 705s # if (info->use_gvariant) 705s # g_value_set_variant (&value, variant); 705s # else 705s # g_dbus_gvariant_to_gvalue (variant, &value); 705s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 705s # g_value_unset (&value); 705s # ret = TRUE; 705s # } 705s # return ret; 705s # } 705s # 705s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 705s # { 705s # _good_types_skeleton_handle_method_call, 705s # _good_types_skeleton_handle_get_property, 705s # _good_types_skeleton_handle_set_property, 705s # {NULL} 705s # }; 705s # 705s # static GDBusInterfaceInfo * 705s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 705s # { 705s # return good_types_interface_info (); 705s # } 705s # 705s # static GDBusInterfaceVTable * 705s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 705s # { 705s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 705s # } 705s # 705s # static GVariant * 705s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 705s # 705s # GVariantBuilder builder; 705s # guint n; 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 705s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # #else 705s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 705s # #endif 705s # if (_good_types_interface_info.parent_struct.properties == NULL) 705s # goto out; 705s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 705s # { 705s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 705s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 705s # { 705s # GVariant *value; 705s # 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); 705s # if (value != NULL) 705s # { 705s # g_variant_take_ref (value); 705s # g_variant_builder_add (&builder, "{sv}", info->name, value); 705s # g_variant_unref (value); 705s # } 705s # } 705s # } 705s # out: 705s # return g_variant_builder_end (&builder); 705s # } 705s # 705s # static gboolean _good_types_emit_changed (gpointer user_data); 705s # 705s # static void 705s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 705s # gboolean emit_changed = FALSE; 705s # 705s # g_mutex_lock (&skeleton->priv->lock); 705s # if (skeleton->priv->changed_properties_idle_source != NULL) 705s # { 705s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 705s # skeleton->priv->changed_properties_idle_source = NULL; 705s # emit_changed = TRUE; 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # 705s # if (emit_changed) 705s # _good_types_emit_changed (skeleton); 705s # } 705s # 705s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 705s # G_ADD_PRIVATE (GoodTypesSkeleton) 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 705s # 705s # #else 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 705s # 705s # #endif 705s # static void 705s # good_types_skeleton_finalize (GObject *object) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # guint n; 705s # for (n = 0; n < 1; n++) 705s # g_value_unset (&skeleton->priv->properties[n]); 705s # g_free (skeleton->priv->properties); 705s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 705s # if (skeleton->priv->changed_properties_idle_source != NULL) 705s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 705s # g_main_context_unref (skeleton->priv->context); 705s # g_mutex_clear (&skeleton->priv->lock); 705s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 705s # } 705s # 705s # static void 705s # good_types_skeleton_get_property (GObject *object, 705s # guint prop_id, 705s # GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # g_mutex_lock (&skeleton->priv->lock); 705s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # } 705s # 705s # static gboolean 705s # _good_types_emit_changed (gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GList *l; 705s # GVariantBuilder builder; 705s # GVariantBuilder invalidated_builder; 705s # guint num_changes; 705s # 705s # g_mutex_lock (&skeleton->priv->lock); 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 705s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 705s # #else 705s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 705s # #endif 705s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 705s # { 705s # ChangedProperty *cp = l->data; 705s # GVariant *variant; 705s # const GValue *cur_value; 705s # 705s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 705s # if (!_g_value_equal (cur_value, &cp->orig_value)) 705s # { 705s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 705s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 705s # g_variant_unref (variant); 705s # num_changes++; 705s # } 705s # } 705s # if (num_changes > 0) 705s # { 705s # GList *connections, *ll; 705s # GVariant *signal_variant; 705s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 705s # &builder, &invalidated_builder)); 705s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 705s # for (ll = connections; ll != NULL; ll = ll->next) 705s # { 705s # GDBusConnection *connection = ll->data; 705s # 705s # g_dbus_connection_emit_signal (connection, 705s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 705s # "org.freedesktop.DBus.Properties", 705s # "PropertiesChanged", 705s # signal_variant, 705s # NULL); 705s # } 705s # g_variant_unref (signal_variant); 705s # g_list_free_full (connections, g_object_unref); 705s # } 705s # else 705s # { 705s # g_variant_builder_clear (&builder); 705s # g_variant_builder_clear (&invalidated_builder); 705s # } 705s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 705s # skeleton->priv->changed_properties = NULL; 705s # skeleton->priv->changed_properties_idle_source = NULL; 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # return FALSE; 705s # } 705s # 705s # static void 705s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 705s # { 705s # ChangedProperty *cp; 705s # GList *l; 705s # cp = NULL; 705s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 705s # { 705s # ChangedProperty *i_cp = l->data; 705s # if (i_cp->info == info) 705s # { 705s # cp = i_cp; 705s # break; 705s # } 705s # } 705s # if (cp == NULL) 705s # { 705s # cp = g_new0 (ChangedProperty, 1); 705s # cp->prop_id = prop_id; 705s # cp->info = info; 705s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 705s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 705s # g_value_copy (orig_value, &cp->orig_value); 705s # } 705s # } 705s # 705s # static void 705s # good_types_skeleton_notify (GObject *object, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_mutex_lock (&skeleton->priv->lock); 705s # if (skeleton->priv->changed_properties != NULL && 705s # skeleton->priv->changed_properties_idle_source == NULL) 705s # { 705s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 705s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 705s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 705s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 705s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 705s # g_source_unref (skeleton->priv->changed_properties_idle_source); 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # } 705s # 705s # static void 705s # good_types_skeleton_set_property (GObject *object, 705s # guint prop_id, 705s # const GValue *value, 705s # GParamSpec *pspec) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # g_mutex_lock (&skeleton->priv->lock); 705s # g_object_freeze_notify (object); 705s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 705s # { 705s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 705s # info->emits_changed_signal) 705s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 705s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 705s # g_object_notify_by_pspec (object, pspec); 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # g_object_thaw_notify (object); 705s # } 705s # 705s # static void 705s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 705s # { 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 705s # #else 705s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 705s # #endif 705s # 705s # g_mutex_init (&skeleton->priv->lock); 705s # skeleton->priv->context = g_main_context_ref_thread_default (); 705s # skeleton->priv->properties = g_new0 (GValue, 1); 705s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 705s # } 705s # 705s # static GVariant * 705s # good_types_skeleton_get_good_property_type (GoodTypes *object) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # GVariant *value; 705s # g_mutex_lock (&skeleton->priv->lock); 705s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # return value; 705s # } 705s # 705s # static void 705s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 705s # { 705s # GObjectClass *gobject_class; 705s # GDBusInterfaceSkeletonClass *skeleton_class; 705s # 705s # gobject_class = G_OBJECT_CLASS (klass); 705s # gobject_class->finalize = good_types_skeleton_finalize; 705s # gobject_class->get_property = good_types_skeleton_get_property; 705s # gobject_class->set_property = good_types_skeleton_set_property; 705s # gobject_class->notify = good_types_skeleton_notify; 705s # 705s # 705s # good_types_override_properties (gobject_class, 1); 705s # 705s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 705s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 705s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 705s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 705s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 705s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 705s # #endif 705s # } 705s # 705s # static void 705s # good_types_skeleton_iface_init (GoodTypesIface *iface) 705s # { 705s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 705s # } 705s # 705s # /** 705s # * good_types_skeleton_new: 705s # * 705s # * Creates a skeleton object for the D-Bus interface GoodTypes. 705s # * 705s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 705s # */ 705s # GoodTypes * 705s # good_types_skeleton_new (void) 705s # { 705s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 705s # } 705s # Error: 705s # 705s # /tmp/tmpzs_gq2y2/tmp5kvf06px.xml: 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_gq2y2/tmp5kvf06px.xml', '--output', '-', '--body'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifdef HAVE_CONFIG_H 705s # # include "config.h" 705s # #endif 705s # 705s # #include 705s # #ifdef G_OS_UNIX 705s # # include 705s # #endif 705s # 705s # #ifdef G_ENABLE_DEBUG 705s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 705s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 705s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 705s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 705s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 705s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 705s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 705s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 705s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 705s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 705s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 705s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 705s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 705s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 705s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 705s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 705s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 705s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 705s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 705s # #else /* !G_ENABLE_DEBUG */ 705s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 705s # * Do not access GValues directly in your code. Instead, use the 705s # * g_value_get_*() functions 705s # */ 705s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 705s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 705s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 705s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 705s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 705s # #endif /* !G_ENABLE_DEBUG */ 705s # 705s # typedef struct 705s # { 705s # GDBusArgInfo parent_struct; 705s # gboolean use_gvariant; 705s # } _ExtendedGDBusArgInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusMethodInfo parent_struct; 705s # const gchar *signal_name; 705s # gboolean pass_fdlist; 705s # } _ExtendedGDBusMethodInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusSignalInfo parent_struct; 705s # const gchar *signal_name; 705s # } _ExtendedGDBusSignalInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusPropertyInfo parent_struct; 705s # const gchar *hyphen_name; 705s # guint use_gvariant : 1; 705s # guint emits_changed_signal : 1; 705s # } _ExtendedGDBusPropertyInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusInterfaceInfo parent_struct; 705s # const gchar *hyphen_name; 705s # } _ExtendedGDBusInterfaceInfo; 705s # 705s # typedef struct 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # guint prop_id; 705s # GValue orig_value; /* the value before the change */ 705s # } ChangedProperty; 705s # 705s # static void 705s # _changed_property_free (ChangedProperty *data) 705s # { 705s # g_value_unset (&data->orig_value); 705s # g_free (data); 705s # } 705s # 705s # static gboolean 705s # _g_strv_equal0 (gchar **a, gchar **b) 705s # { 705s # gboolean ret = FALSE; 705s # guint n; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # if (g_strv_length (a) != g_strv_length (b)) 705s # goto out; 705s # for (n = 0; a[n] != NULL; n++) 705s # if (g_strcmp0 (a[n], b[n]) != 0) 705s # goto out; 705s # ret = TRUE; 705s # out: 705s # return ret; 705s # } 705s # 705s # static gboolean 705s # _g_variant_equal0 (GVariant *a, GVariant *b) 705s # { 705s # gboolean ret = FALSE; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # ret = g_variant_equal (a, b); 705s # out: 705s # return ret; 705s # } 705s # 705s # G_GNUC_UNUSED static gboolean 705s # _g_value_equal (const GValue *a, const GValue *b) 705s # { 705s # gboolean ret = FALSE; 705s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 705s # switch (G_VALUE_TYPE (a)) 705s # { 705s # case G_TYPE_BOOLEAN: 705s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 705s # break; 705s # case G_TYPE_UCHAR: 705s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 705s # break; 705s # case G_TYPE_INT: 705s # ret = (g_value_get_int (a) == g_value_get_int (b)); 705s # break; 705s # case G_TYPE_UINT: 705s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 705s # break; 705s # case G_TYPE_INT64: 705s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 705s # break; 705s # case G_TYPE_UINT64: 705s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 705s # break; 705s # case G_TYPE_DOUBLE: 705s # { 705s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 705s # gdouble da = g_value_get_double (a); 705s # gdouble db = g_value_get_double (b); 705s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 705s # } 705s # break; 705s # case G_TYPE_STRING: 705s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 705s # break; 705s # case G_TYPE_VARIANT: 705s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 705s # break; 705s # default: 705s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 705s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 705s # else 705s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 705s # break; 705s # } 705s # return ret; 705s # } 705s # 705s # /* ------------------------------------------------------------------------ 705s # * Code for interface GoodTypes 705s # * ------------------------------------------------------------------------ 705s # */ 705s # 705s # /** 705s # * SECTION:GoodTypes 705s # * @title: GoodTypes 705s # * @short_description: Generated C code for the GoodTypes D-Bus interface 705s # * 705s # * This section contains code for working with the GoodTypes D-Bus interface in C. 705s # */ 705s # 705s # /* ---- Introspection data for GoodTypes ---- */ 705s # 705s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 705s # { 705s # { 705s # -1, 705s # (gchar *) "GoodPropertyType", 705s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 705s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 705s # NULL 705s # }, 705s # "good-property-type", 705s # FALSE, 705s # TRUE 705s # }; 705s # 705s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 705s # { 705s # &_good_types_property_info_good_property_type.parent_struct, 705s # NULL 705s # }; 705s # 705s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 705s # { 705s # { 705s # -1, 705s # (gchar *) "GoodTypes", 705s # NULL, 705s # NULL, 705s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 705s # NULL 705s # }, 705s # "good-types", 705s # }; 705s # 705s # 705s # /** 705s # * good_types_interface_info: 705s # * 705s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 705s # * 705s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 705s # */ 705s # GDBusInterfaceInfo * 705s # good_types_interface_info (void) 705s # { 705s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 705s # } 705s # 705s # /** 705s # * good_types_override_properties: 705s # * @klass: The class structure for a #GObject derived class. 705s # * @property_id_begin: The property id to assign to the first overridden property. 705s # * 705s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 705s # * The properties are overridden in the order they are defined. 705s # * 705s # * Returns: The last property id. 705s # */ 705s # guint 705s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 705s # { 705s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 705s # return property_id_begin - 1; 705s # } 705s # 705s # 705s # 705s # /** 705s # * GoodTypes: 705s # * 705s # * Abstract interface type for the D-Bus interface GoodTypes. 705s # */ 705s # 705s # /** 705s # * GoodTypesIface: 705s # * @parent_iface: The parent interface. 705s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 705s # * 705s # * Virtual table for the D-Bus interface GoodTypes. 705s # */ 705s # 705s # typedef GoodTypesIface GoodTypesInterface; 705s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 705s # 705s # static void 705s # good_types_default_init (GoodTypesIface *iface) 705s # { 705s # /* GObject properties for D-Bus properties: */ 705s # /** 705s # * GoodTypes:good-property-type: 705s # * 705s # * Represents the D-Bus property "GoodPropertyType". 705s # * 705s # * 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. 705s # */ 705s # g_object_interface_install_property (iface, 705s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 705s # } 705s # 705s # /** 705s # * good_types_get_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * 705s # * Gets the value of the "GoodPropertyType" D-Bus property. 705s # * 705s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 705s # * 705s # * 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. 705s # * 705s # * 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. 705s # */ 705s # GVariant * 705s # good_types_get_good_property_type (GoodTypes *object) 705s # { 705s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 705s # 705s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 705s # } 705s # 705s # /** 705s # * good_types_dup_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * 705s # * Gets a copy of the "GoodPropertyType" D-Bus property. 705s # * 705s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 705s # * 705s # * 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(). 705s # */ 705s # GVariant * 705s # good_types_dup_good_property_type (GoodTypes *object) 705s # { 705s # GVariant *value; 705s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 705s # return value; 705s # } 705s # 705s # /** 705s # * good_types_set_good_property_type: (skip) 705s # * @object: A GoodTypes. 705s # * @value: The value to set. 705s # * 705s # * Sets the "GoodPropertyType" D-Bus property to @value. 705s # * 705s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 705s # */ 705s # void 705s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 705s # { 705s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 705s # } 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # 705s # /** 705s # * GoodTypesProxy: 705s # * 705s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 705s # */ 705s # 705s # /** 705s # * GoodTypesProxyClass: 705s # * @parent_class: The parent class. 705s # * 705s # * Class structure for GoodTypesProxy. 705s # */ 705s # 705s # struct _GoodTypesProxyPrivate 705s # { 705s # GData *qdata; 705s # }; 705s # 705s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 705s # G_ADD_PRIVATE (GoodTypesProxy) 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 705s # 705s # #else 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 705s # 705s # #endif 705s # static void 705s # good_types_proxy_finalize (GObject *object) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 705s # g_datalist_clear (&proxy->priv->qdata); 705s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 705s # } 705s # 705s # static void 705s # good_types_proxy_get_property (GObject *object, 705s # guint prop_id, 705s # GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GVariant *variant; 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 705s # if (info->use_gvariant) 705s # { 705s # g_value_set_variant (value, variant); 705s # } 705s # else 705s # { 705s # if (variant != NULL) 705s # g_dbus_gvariant_to_gvalue (variant, value); 705s # } 705s # if (variant != NULL) 705s # g_variant_unref (variant); 705s # } 705s # 705s # static void 705s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 705s # GAsyncResult *res, 705s # gpointer user_data) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info = user_data; 705s # GError *error; 705s # GVariant *_ret; 705s # error = NULL; 705s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 705s # if (!_ret) 705s # { 705s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 705s # info->parent_struct.name, 705s # error->message, g_quark_to_string (error->domain), error->code); 705s # g_error_free (error); 705s # } 705s # else 705s # { 705s # g_variant_unref (_ret); 705s # } 705s # } 705s # 705s # static void 705s # good_types_proxy_set_property (GObject *object, 705s # guint prop_id, 705s # const GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GVariant *variant; 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 705s # g_dbus_proxy_call (G_DBUS_PROXY (object), 705s # "org.freedesktop.DBus.Properties.Set", 705s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 705s # G_DBUS_CALL_FLAGS_NONE, 705s # -1, 705s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 705s # g_variant_unref (variant); 705s # } 705s # 705s # static void 705s # good_types_proxy_g_signal (GDBusProxy *proxy, 705s # const gchar *sender_name G_GNUC_UNUSED, 705s # const gchar *signal_name, 705s # GVariant *parameters) 705s # { 705s # _ExtendedGDBusSignalInfo *info; 705s # GVariantIter iter; 705s # GVariant *child; 705s # GValue *paramv; 705s # gsize num_params; 705s # gsize n; 705s # guint signal_id; 705s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 705s # if (info == NULL) 705s # return; 705s # num_params = g_variant_n_children (parameters); 705s # paramv = g_new0 (GValue, num_params + 1); 705s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 705s # g_value_set_object (¶mv[0], proxy); 705s # g_variant_iter_init (&iter, parameters); 705s # n = 1; 705s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 705s # { 705s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 705s # if (arg_info->use_gvariant) 705s # { 705s # g_value_init (¶mv[n], G_TYPE_VARIANT); 705s # g_value_set_variant (¶mv[n], child); 705s # n++; 705s # } 705s # else 705s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 705s # g_variant_unref (child); 705s # } 705s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 705s # g_signal_emitv (paramv, signal_id, 0, NULL); 705s # for (n = 0; n < num_params + 1; n++) 705s # g_value_unset (¶mv[n]); 705s # g_free (paramv); 705s # } 705s # 705s # static void 705s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 705s # GVariant *changed_properties, 705s # const gchar *const *invalidated_properties) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 705s # guint n; 705s # const gchar *key; 705s # GVariantIter *iter; 705s # _ExtendedGDBusPropertyInfo *info; 705s # g_variant_get (changed_properties, "a{sv}", &iter); 705s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 705s # { 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 705s # g_datalist_remove_data (&proxy->priv->qdata, key); 705s # if (info != NULL) 705s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 705s # } 705s # g_variant_iter_free (iter); 705s # for (n = 0; invalidated_properties[n] != NULL; n++) 705s # { 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 705s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 705s # if (info != NULL) 705s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 705s # } 705s # } 705s # 705s # static GVariant * 705s # good_types_proxy_get_good_property_type (GoodTypes *object) 705s # { 705s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 705s # GVariant *variant; 705s # GVariant *value = NULL; 705s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 705s # value = variant; 705s # if (variant != NULL) 705s # g_variant_unref (variant); 705s # return value; 705s # } 705s # 705s # static void 705s # good_types_proxy_init (GoodTypesProxy *proxy) 705s # { 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # proxy->priv = good_types_proxy_get_instance_private (proxy); 705s # #else 705s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 705s # #endif 705s # 705s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 705s # } 705s # 705s # static void 705s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 705s # { 705s # GObjectClass *gobject_class; 705s # GDBusProxyClass *proxy_class; 705s # 705s # gobject_class = G_OBJECT_CLASS (klass); 705s # gobject_class->finalize = good_types_proxy_finalize; 705s # gobject_class->get_property = good_types_proxy_get_property; 705s # gobject_class->set_property = good_types_proxy_set_property; 705s # 705s # proxy_class = G_DBUS_PROXY_CLASS (klass); 705s # proxy_class->g_signal = good_types_proxy_g_signal; 705s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 705s # 705s # good_types_override_properties (gobject_class, 1); 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 705s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 705s # #endif 705s # } 705s # 705s # static void 705s # good_types_proxy_iface_init (GoodTypesIface *iface) 705s # { 705s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new: 705s # * @connection: A #GDBusConnection. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 705s # * @user_data: User data to pass to @callback. 705s # * 705s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 705s # * 705s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 705s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 705s # * 705s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 705s # */ 705s # void 705s # good_types_proxy_new ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data) 705s # { 705s # 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); 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_finish: 705s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 705s # * @error: Return location for error or %NULL 705s # * 705s # * Finishes an operation started with good_types_proxy_new(). 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_finish ( 705s # GAsyncResult *res, 705s # GError **error) 705s # { 705s # GObject *ret; 705s # GObject *source_object; 705s # source_object = g_async_result_get_source_object (res); 705s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 705s # g_object_unref (source_object); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_sync: 705s # * @connection: A #GDBusConnection. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @error: Return location for error or %NULL 705s # * 705s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 705s # * 705s # * The calling thread is blocked until a reply is received. 705s # * 705s # * See good_types_proxy_new() for the asynchronous version of this constructor. 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_sync ( 705s # GDBusConnection *connection, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error) 705s # { 705s # GInitable *ret; 705s # 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); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # 705s # /** 705s # * good_types_proxy_new_for_bus: 705s # * @bus_type: A #GBusType. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: A bus name (well-known or unique). 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 705s # * @user_data: User data to pass to @callback. 705s # * 705s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 705s # * 705s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 705s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 705s # * 705s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 705s # */ 705s # void 705s # good_types_proxy_new_for_bus ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GAsyncReadyCallback callback, 705s # gpointer user_data) 705s # { 705s # 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); 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_for_bus_finish: 705s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 705s # * @error: Return location for error or %NULL 705s # * 705s # * Finishes an operation started with good_types_proxy_new_for_bus(). 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_for_bus_finish ( 705s # GAsyncResult *res, 705s # GError **error) 705s # { 705s # GObject *ret; 705s # GObject *source_object; 705s # source_object = g_async_result_get_source_object (res); 705s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 705s # g_object_unref (source_object); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # /** 705s # * good_types_proxy_new_for_bus_sync: 705s # * @bus_type: A #GBusType. 705s # * @flags: Flags from the #GDBusProxyFlags enumeration. 705s # * @name: A bus name (well-known or unique). 705s # * @object_path: An object path. 705s # * @cancellable: (nullable): A #GCancellable or %NULL. 705s # * @error: Return location for error or %NULL 705s # * 705s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 705s # * 705s # * The calling thread is blocked until a reply is received. 705s # * 705s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 705s # * 705s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 705s # */ 705s # GoodTypes * 705s # good_types_proxy_new_for_bus_sync ( 705s # GBusType bus_type, 705s # GDBusProxyFlags flags, 705s # const gchar *name, 705s # const gchar *object_path, 705s # GCancellable *cancellable, 705s # GError **error) 705s # { 705s # GInitable *ret; 705s # 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); 705s # if (ret != NULL) 705s # return GOOD_TYPES (ret); 705s # else 705s # return NULL; 705s # } 705s # 705s # 705s # /* ------------------------------------------------------------------------ */ 705s # 705s # /** 705s # * GoodTypesSkeleton: 705s # * 705s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 705s # */ 705s # 705s # /** 705s # * GoodTypesSkeletonClass: 705s # * @parent_class: The parent class. 705s # * 705s # * Class structure for GoodTypesSkeleton. 705s # */ 705s # 705s # struct _GoodTypesSkeletonPrivate 705s # { 705s # GValue *properties; 705s # GList *changed_properties; 705s # GSource *changed_properties_idle_source; 705s # GMainContext *context; 705s # GMutex lock; 705s # }; 705s # 705s # static void 705s # _good_types_skeleton_handle_method_call ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name, 705s # const gchar *method_name, 705s # GVariant *parameters, 705s # GDBusMethodInvocation *invocation, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # _ExtendedGDBusMethodInfo *info; 705s # GVariantIter iter; 705s # GVariant *child; 705s # GValue *paramv; 705s # gsize num_params; 705s # guint num_extra; 705s # gsize n; 705s # guint signal_id; 705s # GValue return_value = G_VALUE_INIT; 705s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 705s # g_assert (info != NULL); 705s # num_params = g_variant_n_children (parameters); 705s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 705s # n = 0; 705s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 705s # g_value_set_object (¶mv[n++], skeleton); 705s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 705s # g_value_set_object (¶mv[n++], invocation); 705s # if (info->pass_fdlist) 705s # { 705s # #ifdef G_OS_UNIX 705s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 705s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 705s # #else 705s # g_assert_not_reached (); 705s # #endif 705s # } 705s # g_variant_iter_init (&iter, parameters); 705s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 705s # { 705s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 705s # if (arg_info->use_gvariant) 705s # { 705s # g_value_init (¶mv[n], G_TYPE_VARIANT); 705s # g_value_set_variant (¶mv[n], child); 705s # n++; 705s # } 705s # else 705s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 705s # g_variant_unref (child); 705s # } 705s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 705s # g_value_init (&return_value, G_TYPE_BOOLEAN); 705s # g_signal_emitv (paramv, signal_id, 0, &return_value); 705s # if (!g_value_get_boolean (&return_value)) 705s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 705s # g_value_unset (&return_value); 705s # for (n = 0; n < num_params + num_extra; n++) 705s # g_value_unset (¶mv[n]); 705s # g_free (paramv); 705s # } 705s # 705s # static GVariant * 705s # _good_types_skeleton_handle_get_property ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name G_GNUC_UNUSED, 705s # const gchar *property_name, 705s # GError **error, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GValue value = G_VALUE_INIT; 705s # GParamSpec *pspec; 705s # _ExtendedGDBusPropertyInfo *info; 705s # GVariant *ret; 705s # ret = NULL; 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 705s # g_assert (info != NULL); 705s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 705s # if (pspec == NULL) 705s # { 705s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 705s # } 705s # else 705s # { 705s # g_value_init (&value, pspec->value_type); 705s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 705s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 705s # g_value_unset (&value); 705s # } 705s # return ret; 705s # } 705s # 705s # static gboolean 705s # _good_types_skeleton_handle_set_property ( 705s # GDBusConnection *connection G_GNUC_UNUSED, 705s # const gchar *sender G_GNUC_UNUSED, 705s # const gchar *object_path G_GNUC_UNUSED, 705s # const gchar *interface_name G_GNUC_UNUSED, 705s # const gchar *property_name, 705s # GVariant *variant, 705s # GError **error, 705s # gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GValue value = G_VALUE_INIT; 705s # GParamSpec *pspec; 705s # _ExtendedGDBusPropertyInfo *info; 705s # gboolean ret; 705s # ret = FALSE; 705s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 705s # g_assert (info != NULL); 705s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 705s # if (pspec == NULL) 705s # { 705s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 705s # } 705s # else 705s # { 705s # if (info->use_gvariant) 705s # g_value_set_variant (&value, variant); 705s # else 705s # g_dbus_gvariant_to_gvalue (variant, &value); 705s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 705s # g_value_unset (&value); 705s # ret = TRUE; 705s # } 705s # return ret; 705s # } 705s # 705s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 705s # { 705s # _good_types_skeleton_handle_method_call, 705s # _good_types_skeleton_handle_get_property, 705s # _good_types_skeleton_handle_set_property, 705s # {NULL} 705s # }; 705s # 705s # static GDBusInterfaceInfo * 705s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 705s # { 705s # return good_types_interface_info (); 705s # } 705s # 705s # static GDBusInterfaceVTable * 705s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 705s # { 705s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 705s # } 705s # 705s # static GVariant * 705s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 705s # 705s # GVariantBuilder builder; 705s # guint n; 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 705s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # #else 705s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 705s # #endif 705s # if (_good_types_interface_info.parent_struct.properties == NULL) 705s # goto out; 705s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 705s # { 705s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 705s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 705s # { 705s # GVariant *value; 705s # 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); 705s # if (value != NULL) 705s # { 705s # g_variant_take_ref (value); 705s # g_variant_builder_add (&builder, "{sv}", info->name, value); 705s # g_variant_unref (value); 705s # } 705s # } 705s # } 705s # out: 705s # return g_variant_builder_end (&builder); 705s # } 705s # 705s # static gboolean _good_types_emit_changed (gpointer user_data); 705s # 705s # static void 705s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 705s # gboolean emit_changed = FALSE; 705s # 705s # g_mutex_lock (&skeleton->priv->lock); 705s # if (skeleton->priv->changed_properties_idle_source != NULL) 705s # { 705s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 705s # skeleton->priv->changed_properties_idle_source = NULL; 705s # emit_changed = TRUE; 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # 705s # if (emit_changed) 705s # _good_types_emit_changed (skeleton); 705s # } 705s # 705s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 705s # G_ADD_PRIVATE (GoodTypesSkeleton) 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 705s # 705s # #else 705s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 705s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 705s # 705s # #endif 705s # static void 705s # good_types_skeleton_finalize (GObject *object) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # guint n; 705s # for (n = 0; n < 1; n++) 705s # g_value_unset (&skeleton->priv->properties[n]); 705s # g_free (skeleton->priv->properties); 705s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 705s # if (skeleton->priv->changed_properties_idle_source != NULL) 705s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 705s # g_main_context_unref (skeleton->priv->context); 705s # g_mutex_clear (&skeleton->priv->lock); 705s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 705s # } 705s # 705s # static void 705s # good_types_skeleton_get_property (GObject *object, 705s # guint prop_id, 705s # GValue *value, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # g_mutex_lock (&skeleton->priv->lock); 705s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # } 705s # 705s # static gboolean 705s # _good_types_emit_changed (gpointer user_data) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 705s # GList *l; 705s # GVariantBuilder builder; 705s # GVariantBuilder invalidated_builder; 705s # guint num_changes; 705s # 705s # g_mutex_lock (&skeleton->priv->lock); 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 705s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 705s # #else 705s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 705s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 705s # #endif 705s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 705s # { 705s # ChangedProperty *cp = l->data; 705s # GVariant *variant; 705s # const GValue *cur_value; 705s # 705s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 705s # if (!_g_value_equal (cur_value, &cp->orig_value)) 705s # { 705s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 705s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 705s # g_variant_unref (variant); 705s # num_changes++; 705s # } 705s # } 705s # if (num_changes > 0) 705s # { 705s # GList *connections, *ll; 705s # GVariant *signal_variant; 705s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 705s # &builder, &invalidated_builder)); 705s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 705s # for (ll = connections; ll != NULL; ll = ll->next) 705s # { 705s # GDBusConnection *connection = ll->data; 705s # 705s # g_dbus_connection_emit_signal (connection, 705s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 705s # "org.freedesktop.DBus.Properties", 705s # "PropertiesChanged", 705s # signal_variant, 705s # NULL); 705s # } 705s # g_variant_unref (signal_variant); 705s # g_list_free_full (connections, g_object_unref); 705s # } 705s # else 705s # { 705s # g_variant_builder_clear (&builder); 705s # g_variant_builder_clear (&invalidated_builder); 705s # } 705s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 705s # skeleton->priv->changed_properties = NULL; 705s # skeleton->priv->changed_properties_idle_source = NULL; 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # return FALSE; 705s # } 705s # 705s # static void 705s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 705s # { 705s # ChangedProperty *cp; 705s # GList *l; 705s # cp = NULL; 705s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 705s # { 705s # ChangedProperty *i_cp = l->data; 705s # if (i_cp->info == info) 705s # { 705s # cp = i_cp; 705s # break; 705s # } 705s # } 705s # if (cp == NULL) 705s # { 705s # cp = g_new0 (ChangedProperty, 1); 705s # cp->prop_id = prop_id; 705s # cp->info = info; 705s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 705s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 705s # g_value_copy (orig_value, &cp->orig_value); 705s # } 705s # } 705s # 705s # static void 705s # good_types_skeleton_notify (GObject *object, 705s # GParamSpec *pspec G_GNUC_UNUSED) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_mutex_lock (&skeleton->priv->lock); 705s # if (skeleton->priv->changed_properties != NULL && 705s # skeleton->priv->changed_properties_idle_source == NULL) 705s # { 705s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 705s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 705s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 705s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 705s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 705s # g_source_unref (skeleton->priv->changed_properties_idle_source); 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # } 705s # 705s # static void 705s # good_types_skeleton_set_property (GObject *object, 705s # guint prop_id, 705s # const GValue *value, 705s # GParamSpec *pspec) 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # g_assert (prop_id != 0 && prop_id - 1 < 1); 705s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 705s # g_mutex_lock (&skeleton->priv->lock); 705s # g_object_freeze_notify (object); 705s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 705s # { 705s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 705s # info->emits_changed_signal) 705s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 705s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 705s # g_object_notify_by_pspec (object, pspec); 705s # } 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # g_object_thaw_notify (object); 705s # } 705s # 705s # static void 705s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 705s # { 705s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 705s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 705s # #else 705s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 705s # #endif 705s # 705s # g_mutex_init (&skeleton->priv->lock); 705s # skeleton->priv->context = g_main_context_ref_thread_default (); 705s # skeleton->priv->properties = g_new0 (GValue, 1); 705s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 705s # } 705s # 705s # static GVariant * 705s # good_types_skeleton_get_good_property_type (GoodTypes *object) 705s # { 705s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 705s # GVariant *value; 705s # g_mutex_lock (&skeleton->priv->lock); 705s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 705s # g_mutex_unlock (&skeleton->priv->lock); 705s # return value; 705s # } 705s # 705s # static void 705s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 705s # { 705s # GObjectClass *gobject_class; 705s # GDBusInterfaceSkeletonClass *skeleton_class; 705s # 705s # gobject_class = G_OBJECT_CLASS (klass); 705s # gobject_class->finalize = good_types_skeleton_finalize; 705s # gobject_class->get_property = good_types_skeleton_get_property; 705s # gobject_class->set_property = good_types_skeleton_set_property; 705s # gobject_class->notify = good_types_skeleton_notify; 705s # 705s # 705s # good_types_override_properties (gobject_class, 1); 705s # 705s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 705s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 705s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 705s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 705s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 705s # 705s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 705s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 705s # #endif 705s # } 705s # 705s # static void 705s # good_types_skeleton_iface_init (GoodTypesIface *iface) 705s # { 705s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 705s # } 705s # 705s # /** 705s # * good_types_skeleton_new: 705s # * 705s # * Creates a skeleton object for the D-Bus interface GoodTypes. 705s # * 705s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 705s # */ 705s # GoodTypes * 705s # good_types_skeleton_new (void) 705s # { 705s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 705s # } 705s # Error: 705s ok 3 __main__.TestCodegen.test_empty_interface_body 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmpjcddhiuc 705s # /tmp/tmpjcddhiuc/tmpvjj4qc1x.xml: 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjcddhiuc/tmpvjj4qc1x.xml', '--output', '-', '--body'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifdef HAVE_CONFIG_H 705s # # include "config.h" 705s # #endif 705s # 705s # #include 705s # #ifdef G_OS_UNIX 705s # # include 705s # #endif 705s # 705s # #ifdef G_ENABLE_DEBUG 705s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 705s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 705s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 705s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 705s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 705s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 705s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 705s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 705s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 705s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 705s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 705s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 705s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 705s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 705s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 705s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 705s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 705s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 705s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 705s # #else /* !G_ENABLE_DEBUG */ 705s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 705s # * Do not access GValues directly in your code. Instead, use the 705s # * g_value_get_*() functions 705s # */ 705s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 705s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 705s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 705s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 705s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 705s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 705s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 705s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 705s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 705s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 705s # #endif /* !G_ENABLE_DEBUG */ 705s # 705s # typedef struct 705s # { 705s # GDBusArgInfo parent_struct; 705s # gboolean use_gvariant; 705s # } _ExtendedGDBusArgInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusMethodInfo parent_struct; 705s # const gchar *signal_name; 705s # gboolean pass_fdlist; 705s # } _ExtendedGDBusMethodInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusSignalInfo parent_struct; 705s # const gchar *signal_name; 705s # } _ExtendedGDBusSignalInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusPropertyInfo parent_struct; 705s # const gchar *hyphen_name; 705s # guint use_gvariant : 1; 705s # guint emits_changed_signal : 1; 705s # } _ExtendedGDBusPropertyInfo; 705s # 705s # typedef struct 705s # { 705s # GDBusInterfaceInfo parent_struct; 705s # const gchar *hyphen_name; 705s # } _ExtendedGDBusInterfaceInfo; 705s # 705s # typedef struct 705s # { 705s # const _ExtendedGDBusPropertyInfo *info; 705s # guint prop_id; 705s # GValue orig_value; /* the value before the change */ 705s # } ChangedProperty; 705s # 705s # static void 705s # _changed_property_free (ChangedProperty *data) 705s # { 705s # g_value_unset (&data->orig_value); 705s # g_free (data); 705s # } 705s # 705s # static gboolean 705s # _g_strv_equal0 (gchar **a, gchar **b) 705s # { 705s # gboolean ret = FALSE; 705s # guint n; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # if (g_strv_length (a) != g_strv_length (b)) 705s # goto out; 705s # for (n = 0; a[n] != NULL; n++) 705s # if (g_strcmp0 (a[n], b[n]) != 0) 705s # goto out; 705s # ret = TRUE; 705s # out: 705s # return ret; 705s # } 705s # 705s # static gboolean 705s # _g_variant_equal0 (GVariant *a, GVariant *b) 705s # { 705s # gboolean ret = FALSE; 705s # if (a == NULL && b == NULL) 705s # { 705s # ret = TRUE; 705s # goto out; 705s # } 705s # if (a == NULL || b == NULL) 705s # goto out; 705s # ret = g_variant_equal (a, b); 705s # out: 705s # return ret; 705s # } 705s # 705s # G_GNUC_UNUSED static gboolean 705s # _g_value_equal (const GValue *a, const GValue *b) 705s # { 705s # gboolean ret = FALSE; 705s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 705s # switch (G_VALUE_TYPE (a)) 705s # { 705s # case G_TYPE_BOOLEAN: 705s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 705s # break; 705s # case G_TYPE_UCHAR: 705s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 705s # break; 705s # case G_TYPE_INT: 705s # ret = (g_value_get_int (a) == g_value_get_int (b)); 705s # break; 705s # case G_TYPE_UINT: 705s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 705s # break; 705s # case G_TYPE_INT64: 705s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 705s # break; 705s # case G_TYPE_UINT64: 705s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 705s # break; 705s # case G_TYPE_DOUBLE: 705s # { 705s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 705s # gdouble da = g_value_get_double (a); 705s # gdouble db = g_value_get_double (b); 705s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 705s # } 705s # break; 705s # case G_TYPE_STRING: 705s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 705s # break; 705s # case G_TYPE_VARIANT: 705s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 705s # break; 705s # default: 705s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 705s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 705s # else 705s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 705s # break; 705s # } 705s # return ret; 705s # } 705s # Error: 705s ok 4 __main__.TestCodegen.test_empty_interface_header 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmpwk3e4swa 705s # /tmp/tmpwk3e4swa/tmpczrpsx7_.xml: 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwk3e4swa/tmpczrpsx7_.xml', '--output', '-', '--header'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifndef __STDOUT__ 705s # #define __STDOUT__ 705s # 705s # #include 705s # 705s # G_BEGIN_DECLS 705s # 705s # 705s # G_END_DECLS 705s # 705s # #endif /* __STDOUT__ */ 705s # Error: 705s ok 5 __main__.TestCodegen.test_empty_interface_info_body 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmp09c9nf5j 705s # /tmp/tmp09c9nf5j/tmpp8it5cjt.xml: 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp09c9nf5j/tmpp8it5cjt.xml', '--output', '-', '--interface-info-body'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifdef HAVE_CONFIG_H 705s # # include "config.h" 705s # #endif 705s # 705s # #include 705s # Error: 705s ok 6 __main__.TestCodegen.test_empty_interface_info_header 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmp7fq1s2ru 705s # /tmp/tmp7fq1s2ru/tmpcjnrhc3b.xml: 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7fq1s2ru/tmpcjnrhc3b.xml', '--output', '-', '--interface-info-header'] 705s # Return code: 0 705s # Output: 705s # /* 705s # * This file is generated by gdbus-codegen, do not modify it. 705s # * 705s # * The license of this code is the same as for the D-Bus interface description 705s # * it was derived from. Note that it links to GLib, so must comply with the 705s # * LGPL linking clauses. 705s # */ 705s # 705s # #ifndef __STDOUT__ 705s # #define __STDOUT__ 705s # 705s # #include 705s # 705s # G_BEGIN_DECLS 705s # 705s # 705s # G_END_DECLS 705s # 705s # #endif /* __STDOUT__ */ 705s # Error: 705s ok 7 __main__.TestCodegen.test_generate_docbook 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmps7hyvmwr 705s # /tmp/tmps7hyvmwr/tmp5djdhugr.xml: 705s # 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps7hyvmwr/tmp5djdhugr.xml', '--generate-docbook', 'test'] 705s # Return code: 0 705s # Output: 705s # 705s # Error: 705s ok 8 __main__.TestCodegen.test_generate_md 705s # gdbus-codegen: /usr/bin/gdbus-codegen 705s # tmpdir: /tmp/tmpyzbjmwi7 705s # /tmp/tmpyzbjmwi7/tmp7ywbi5dl.xml: 705s # 705s # 705s # 705s # 705s # 705s # 705s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyzbjmwi7/tmp7ywbi5dl.xml', '--generate-md', 'test'] 705s # Return code: 0 705s # Output: 705s # 705s # Error: 706s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 706s # gdbus-codegen: /usr/bin/gdbus-codegen 706s # tmpdir: /tmp/tmp6557pbwr 706s # /tmp/tmp6557pbwr/tmpflzpf_c3.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6557pbwr/tmpflzpf_c3.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 2); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.CallableIface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectCallableIface 706s # * @title: OrgProjectCallableIface 706s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.CallableIface ---- */ 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SimpleMethod", 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-simple-method", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 706s # { 706s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.CallableIface", 706s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-callable-iface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_callable_iface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_callable_iface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_callable_iface_method_marshal_simple_method ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectCallableIface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 706s # */ 706s # 706s # /** 706s # * OrgProjectCallableIfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.CallableIface. 706s # */ 706s # 706s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectCallableIface::handle-simple-method: 706s # * @object: A #OrgProjectCallableIface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * 706s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-simple-method", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_callable_iface_method_marshal_simple_method, 706s # G_TYPE_BOOLEAN, 706s # 1, 706s # G_TYPE_DBUS_METHOD_INVOCATION); 706s # 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_call_simple_method: 706s # * @proxy: A #OrgProjectCallableIfaceProxy. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 706s # * 706s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_callable_iface_call_simple_method ( 706s # OrgProjectCallableIface *proxy, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SimpleMethod", 706s # g_variant_new ("()"), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_call_simple_method_finish: 706s # * @proxy: A #OrgProjectCallableIfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_callable_iface_call_simple_method_finish ( 706s # OrgProjectCallableIface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_call_simple_method_sync: 706s # * @proxy: A #OrgProjectCallableIfaceProxy. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_callable_iface_call_simple_method_sync ( 706s # OrgProjectCallableIface *proxy, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SimpleMethod", 706s # g_variant_new ("()"), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_complete_simple_method: 706s # * @object: A #OrgProjectCallableIface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_callable_iface_complete_simple_method ( 706s # OrgProjectCallableIface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectCallableIfaceProxy: 706s # * 706s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectCallableIfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectCallableIfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectCallableIfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_callable_iface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 706s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 706s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_callable_iface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # 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); 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectCallableIface * 706s # org_project_callable_iface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectCallableIface * 706s # org_project_callable_iface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_callable_iface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_callable_iface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # 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); 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectCallableIface * 706s # org_project_callable_iface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectCallableIface * 706s # org_project_callable_iface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectCallableIfaceSkeleton: 706s # * 706s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectCallableIfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectCallableIfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectCallableIfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_callable_iface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_callable_iface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_callable_iface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 706s # { 706s # _org_project_callable_iface_skeleton_handle_method_call, 706s # _org_project_callable_iface_skeleton_handle_get_property, 706s # _org_project_callable_iface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_callable_iface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_callable_iface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_callable_iface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectCallableIface * 706s # org_project_callable_iface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.OtherCallableIface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectOtherCallableIface 706s # * @title: OrgProjectOtherCallableIface 706s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SimpleMethod", 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-simple-method", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 706s # { 706s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.OtherCallableIface", 706s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-other-callable-iface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_other_callable_iface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_other_callable_iface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_other_callable_iface_method_marshal_simple_method ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectOtherCallableIface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 706s # */ 706s # 706s # /** 706s # * OrgProjectOtherCallableIfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 706s # */ 706s # 706s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectOtherCallableIface::handle-simple-method: 706s # * @object: A #OrgProjectOtherCallableIface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * 706s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-simple-method", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_other_callable_iface_method_marshal_simple_method, 706s # G_TYPE_BOOLEAN, 706s # 1, 706s # G_TYPE_DBUS_METHOD_INVOCATION); 706s # 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_call_simple_method: 706s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 706s # * 706s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_other_callable_iface_call_simple_method ( 706s # OrgProjectOtherCallableIface *proxy, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SimpleMethod", 706s # g_variant_new ("()"), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_call_simple_method_finish: 706s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_other_callable_iface_call_simple_method_finish ( 706s # OrgProjectOtherCallableIface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_call_simple_method_sync: 706s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_other_callable_iface_call_simple_method_sync ( 706s # OrgProjectOtherCallableIface *proxy, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SimpleMethod", 706s # g_variant_new ("()"), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_complete_simple_method: 706s # * @object: A #OrgProjectOtherCallableIface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_other_callable_iface_complete_simple_method ( 706s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectOtherCallableIfaceProxy: 706s # * 706s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectOtherCallableIfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectOtherCallableIfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_other_callable_iface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 706s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 706s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_other_callable_iface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # 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); 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectOtherCallableIface * 706s # org_project_other_callable_iface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectOtherCallableIface * 706s # org_project_other_callable_iface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_other_callable_iface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_other_callable_iface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # 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); 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectOtherCallableIface * 706s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectOtherCallableIface * 706s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectOtherCallableIfaceSkeleton: 706s # * 706s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectOtherCallableIfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_other_callable_iface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_other_callable_iface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_other_callable_iface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 706s # { 706s # _org_project_other_callable_iface_skeleton_handle_method_call, 706s # _org_project_other_callable_iface_skeleton_handle_get_property, 706s # _org_project_other_callable_iface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_other_callable_iface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_other_callable_iface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectOtherCallableIface * 706s # org_project_other_callable_iface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 706s # gdbus-codegen: /usr/bin/gdbus-codegen 706s # tmpdir: /tmp/tmpj40che48 706s # /tmp/tmpj40che48/tmp6wgx3nlx.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp6wgx3nlx.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # gboolean arg_arg_b, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_boolean (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_b", 706s # (gchar *) "b", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodB", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-b", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_b ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_b: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-b", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_b, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_b: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_b: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_b ( 706s # OrgProjectUsefulInterface *proxy, 706s # gboolean arg_arg_b, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodB", 706s # g_variant_new ("(b)", 706s # arg_arg_b), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_b_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_b_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_b_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_b: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_b_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # gboolean arg_arg_b, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodB", 706s # g_variant_new ("(b)", 706s # arg_arg_b), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_b: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_b ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmpov79indj.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmpov79indj.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # guchar arg_arg_y, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_uchar (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_y", 706s # (gchar *) "y", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodY", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-y", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_y ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_y: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-y", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_y, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_y: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_y: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_y ( 706s # OrgProjectUsefulInterface *proxy, 706s # guchar arg_arg_y, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodY", 706s # g_variant_new ("(y)", 706s # arg_arg_y), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_y_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_y_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_y_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_y: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_y_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # guchar arg_arg_y, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodY", 706s # g_variant_new ("(y)", 706s # arg_arg_y), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_y: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_y ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp4ppbqtoy.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp4ppbqtoy.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # gint16 arg_arg_n, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_int (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_n", 706s # (gchar *) "n", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodN", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-n", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_n ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_n: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-n", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_n, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_n: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_n: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_n ( 706s # OrgProjectUsefulInterface *proxy, 706s # gint16 arg_arg_n, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodN", 706s # g_variant_new ("(n)", 706s # arg_arg_n), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_n_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_n_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_n_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_n: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_n_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # gint16 arg_arg_n, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodN", 706s # g_variant_new ("(n)", 706s # arg_arg_n), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_n: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_n ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmpxs9o357o.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmpxs9o357o.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # guint16 arg_arg_q, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_uint (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_q", 706s # (gchar *) "q", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodQ", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-q", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_q ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_q: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-q", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_q, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_q: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_q: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_q ( 706s # OrgProjectUsefulInterface *proxy, 706s # guint16 arg_arg_q, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodQ", 706s # g_variant_new ("(q)", 706s # arg_arg_q), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_q_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_q_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_q_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_q: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_q_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # guint16 arg_arg_q, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodQ", 706s # g_variant_new ("(q)", 706s # arg_arg_q), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_q: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_q ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp1xns0kg2.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp1xns0kg2.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # gint arg_arg_i, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_int (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_i", 706s # (gchar *) "i", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodI", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-i", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_i ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_i: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-i", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_i, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_i: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_i: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_i ( 706s # OrgProjectUsefulInterface *proxy, 706s # gint arg_arg_i, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodI", 706s # g_variant_new ("(i)", 706s # arg_arg_i), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_i_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_i_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_i_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_i: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_i_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # gint arg_arg_i, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodI", 706s # g_variant_new ("(i)", 706s # arg_arg_i), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_i: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_i ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmporwfcidk.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmporwfcidk.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # guint arg_arg_u, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_uint (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_u", 706s # (gchar *) "u", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodU", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-u", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_u ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_u: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-u", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_u, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_u: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_u: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_u ( 706s # OrgProjectUsefulInterface *proxy, 706s # guint arg_arg_u, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodU", 706s # g_variant_new ("(u)", 706s # arg_arg_u), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_u_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_u_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_u_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_u: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_u_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # guint arg_arg_u, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodU", 706s # g_variant_new ("(u)", 706s # arg_arg_u), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_u: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_u ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp4kn6iqqm.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp4kn6iqqm.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # gint64 arg_arg_x, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_int64 (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_x", 706s # (gchar *) "x", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodX", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-x", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_x ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_x: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-x", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_x, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_x: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_x: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_x ( 706s # OrgProjectUsefulInterface *proxy, 706s # gint64 arg_arg_x, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodX", 706s # g_variant_new ("(x)", 706s # arg_arg_x), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_x_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_x_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_x_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_x: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_x_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # gint64 arg_arg_x, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodX", 706s # g_variant_new ("(x)", 706s # arg_arg_x), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_x: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_x ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmpssiw8k70.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmpssiw8k70.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # guint64 arg_arg_t, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_uint64 (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_t", 706s # (gchar *) "t", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodT", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-t", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_t ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_t: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-t", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_t, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_t: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_t: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_t ( 706s # OrgProjectUsefulInterface *proxy, 706s # guint64 arg_arg_t, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodT", 706s # g_variant_new ("(t)", 706s # arg_arg_t), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_t_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_t_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_t_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_t: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_t_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # guint64 arg_arg_t, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodT", 706s # g_variant_new ("(t)", 706s # arg_arg_t), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_t: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_t ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmpl3awf7rc.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmpl3awf7rc.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # gdouble arg_arg_d, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_double (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_d", 706s # (gchar *) "d", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodD", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-d", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_d ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_d: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-d", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_d, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_d: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_d: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_d ( 706s # OrgProjectUsefulInterface *proxy, 706s # gdouble arg_arg_d, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodD", 706s # g_variant_new ("(d)", 706s # arg_arg_d), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_d_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_d_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_d_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_d: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_d_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # gdouble arg_arg_d, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodD", 706s # g_variant_new ("(d)", 706s # arg_arg_d), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_d: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_d ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp514qk0pt.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp514qk0pt.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # const gchar *arg_arg_s, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_string (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_s", 706s # (gchar *) "s", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodS", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-s", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_s ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_s: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-s", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_s, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_s: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_s: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_s ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_s, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodS", 706s # g_variant_new ("(s)", 706s # arg_arg_s), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_s_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_s_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_s_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_s: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_s_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_s, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodS", 706s # g_variant_new ("(s)", 706s # arg_arg_s), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_s: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_s ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp8_x4_b9d.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp8_x4_b9d.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # const gchar *arg_arg_o, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_string (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_o", 706s # (gchar *) "o", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodO", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-o", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_o ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_o: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-o", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_o, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_o: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_o: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_o ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_o, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodO", 706s # g_variant_new ("(o)", 706s # arg_arg_o), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_o_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_o_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_o_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_o: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_o_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_o, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodO", 706s # g_variant_new ("(o)", 706s # arg_arg_o), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_o: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_o ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp133rousz.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp133rousz.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # const gchar *arg_arg_g, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_string (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_g", 706s # (gchar *) "g", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodG", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-g", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_g ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_g: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-g", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_g, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_g: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_g: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_g ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_g, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodG", 706s # g_variant_new ("(g)", 706s # arg_arg_g), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_g_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_g_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_g_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_g: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_g_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_g, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodG", 706s # g_variant_new ("(g)", 706s # arg_arg_g), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_g: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_g ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp5v31s_lm.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp5v31s_lm.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # GVariant *arg_arg_h, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_variant (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_h", 706s # (gchar *) "h", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodH", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-h", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_h ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_h: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-h", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_h, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_h: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_h: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_h ( 706s # OrgProjectUsefulInterface *proxy, 706s # GVariant *arg_arg_h, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodH", 706s # g_variant_new ("(@h)", 706s # arg_arg_h), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_h_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_h_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_h_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_h: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_h_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # GVariant *arg_arg_h, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodH", 706s # g_variant_new ("(@h)", 706s # arg_arg_h), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_h: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_h ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmpwrkzolsb.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmpwrkzolsb.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # const gchar *arg_arg_ay, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_string (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_ay", 706s # (gchar *) "ay", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodAy", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-ay", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_ay: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-ay", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_ay, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_ay: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_ay: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_ay ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_ay, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAy", 706s # g_variant_new ("(^ay)", 706s # arg_arg_ay), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_ay_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_ay_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_ay_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_ay: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_ay_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *arg_arg_ay, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAy", 706s # g_variant_new ("(^ay)", 706s # arg_arg_ay), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_ay: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_ay ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmpeaxbumw1.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmpeaxbumw1.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # const gchar *const *arg_arg_as, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_boxed (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_as", 706s # (gchar *) "as", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodAs", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-as", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_as ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_as: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-as", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_as, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_as: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_as: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_as ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *const *arg_arg_as, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAs", 706s # g_variant_new ("(^as)", 706s # arg_arg_as), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_as_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_as_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_as_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_as: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_as_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *const *arg_arg_as, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAs", 706s # g_variant_new ("(^as)", 706s # arg_arg_as), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_as: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_as ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp88a65hb4.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp88a65hb4.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # const gchar *const *arg_arg_ao, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_boxed (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_ao", 706s # (gchar *) "ao", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodAo", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-ao", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_ao: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-ao", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_ao, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_ao: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_ao: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_ao ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *const *arg_arg_ao, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAo", 706s # g_variant_new ("(^ao)", 706s # arg_arg_ao), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_ao_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_ao_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_ao_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_ao: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_ao_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *const *arg_arg_ao, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAo", 706s # g_variant_new ("(^ao)", 706s # arg_arg_ao), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_ao: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_ao ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp09x36t1v.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp09x36t1v.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # const gchar *const *arg_arg_aay, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_boxed (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_aay", 706s # (gchar *) "aay", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodAay", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-aay", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_aay: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-aay", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_aay, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_aay: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_aay: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_aay ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *const *arg_arg_aay, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAay", 706s # g_variant_new ("(^aay)", 706s # arg_arg_aay), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_aay_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_aay_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_aay_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_aay: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_aay_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # const gchar *const *arg_arg_aay, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAay", 706s # g_variant_new ("(^aay)", 706s # arg_arg_aay), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_aay: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_aay ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 706s # 706s # /tmp/tmpj40che48/tmp9o16041d.xml: 706s # 706s # 706s # 706s # 706s # 706s # 706s # 706s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj40che48/tmp9o16041d.xml', '--output', '-', '--body'] 706s # Return code: 0 706s # Output: 706s # /* 706s # * This file is generated by gdbus-codegen, do not modify it. 706s # * 706s # * The license of this code is the same as for the D-Bus interface description 706s # * it was derived from. Note that it links to GLib, so must comply with the 706s # * LGPL linking clauses. 706s # */ 706s # 706s # #ifdef HAVE_CONFIG_H 706s # # include "config.h" 706s # #endif 706s # 706s # #include 706s # #ifdef G_OS_UNIX 706s # # include 706s # #endif 706s # 706s # #ifdef G_ENABLE_DEBUG 706s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 706s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 706s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 706s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 706s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 706s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 706s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 706s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 706s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 706s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 706s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 706s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 706s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 706s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 706s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 706s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 706s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 706s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 706s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 706s # #else /* !G_ENABLE_DEBUG */ 706s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 706s # * Do not access GValues directly in your code. Instead, use the 706s # * g_value_get_*() functions 706s # */ 706s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 706s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 706s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 706s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 706s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 706s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 706s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 706s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 706s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 706s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 706s # #endif /* !G_ENABLE_DEBUG */ 706s # 706s # typedef struct 706s # { 706s # GDBusArgInfo parent_struct; 706s # gboolean use_gvariant; 706s # } _ExtendedGDBusArgInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusMethodInfo parent_struct; 706s # const gchar *signal_name; 706s # gboolean pass_fdlist; 706s # } _ExtendedGDBusMethodInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusSignalInfo parent_struct; 706s # const gchar *signal_name; 706s # } _ExtendedGDBusSignalInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusPropertyInfo parent_struct; 706s # const gchar *hyphen_name; 706s # guint use_gvariant : 1; 706s # guint emits_changed_signal : 1; 706s # } _ExtendedGDBusPropertyInfo; 706s # 706s # typedef struct 706s # { 706s # GDBusInterfaceInfo parent_struct; 706s # const gchar *hyphen_name; 706s # } _ExtendedGDBusInterfaceInfo; 706s # 706s # typedef struct 706s # { 706s # const _ExtendedGDBusPropertyInfo *info; 706s # guint prop_id; 706s # GValue orig_value; /* the value before the change */ 706s # } ChangedProperty; 706s # 706s # static void 706s # _changed_property_free (ChangedProperty *data) 706s # { 706s # g_value_unset (&data->orig_value); 706s # g_free (data); 706s # } 706s # 706s # static gboolean 706s # _g_strv_equal0 (gchar **a, gchar **b) 706s # { 706s # gboolean ret = FALSE; 706s # guint n; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # if (g_strv_length (a) != g_strv_length (b)) 706s # goto out; 706s # for (n = 0; a[n] != NULL; n++) 706s # if (g_strcmp0 (a[n], b[n]) != 0) 706s # goto out; 706s # ret = TRUE; 706s # out: 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _g_variant_equal0 (GVariant *a, GVariant *b) 706s # { 706s # gboolean ret = FALSE; 706s # if (a == NULL && b == NULL) 706s # { 706s # ret = TRUE; 706s # goto out; 706s # } 706s # if (a == NULL || b == NULL) 706s # goto out; 706s # ret = g_variant_equal (a, b); 706s # out: 706s # return ret; 706s # } 706s # 706s # G_GNUC_UNUSED static gboolean 706s # _g_value_equal (const GValue *a, const GValue *b) 706s # { 706s # gboolean ret = FALSE; 706s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 706s # switch (G_VALUE_TYPE (a)) 706s # { 706s # case G_TYPE_BOOLEAN: 706s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 706s # break; 706s # case G_TYPE_UCHAR: 706s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 706s # break; 706s # case G_TYPE_INT: 706s # ret = (g_value_get_int (a) == g_value_get_int (b)); 706s # break; 706s # case G_TYPE_UINT: 706s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 706s # break; 706s # case G_TYPE_INT64: 706s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 706s # break; 706s # case G_TYPE_UINT64: 706s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 706s # break; 706s # case G_TYPE_DOUBLE: 706s # { 706s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 706s # gdouble da = g_value_get_double (a); 706s # gdouble db = g_value_get_double (b); 706s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 706s # } 706s # break; 706s # case G_TYPE_STRING: 706s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 706s # break; 706s # case G_TYPE_VARIANT: 706s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 706s # break; 706s # default: 706s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 706s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 706s # else 706s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 706s # break; 706s # } 706s # return ret; 706s # } 706s # 706s # static void 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint G_GNUC_UNUSED, 706s # void *marshal_data) 706s # { 706s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 706s # (void *data1, 706s # GDBusMethodInvocation *arg_method_invocation, 706s # GVariant *arg_arg_asv, 706s # void *data2); 706s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 706s # GCClosure *cc = (GCClosure*) closure; 706s # void *data1, *data2; 706s # gboolean v_return; 706s # 706s # g_return_if_fail (return_value != NULL); 706s # g_return_if_fail (n_param_values == 3); 706s # 706s # if (G_CCLOSURE_SWAP_DATA (closure)) 706s # { 706s # data1 = closure->data; 706s # data2 = g_value_peek_pointer (param_values + 0); 706s # } 706s # else 706s # { 706s # data1 = g_value_peek_pointer (param_values + 0); 706s # data2 = closure->data; 706s # } 706s # 706s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 706s # (marshal_data ? marshal_data : cc->callback); 706s # 706s # v_return = 706s # callback (data1, 706s # g_marshal_value_peek_object (param_values + 1), 706s # g_marshal_value_peek_variant (param_values + 2), 706s # data2); 706s # 706s # g_value_set_boolean (return_value, v_return); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ 706s # * Code for interface org.project.UsefulInterface 706s # * ------------------------------------------------------------------------ 706s # */ 706s # 706s # /** 706s # * SECTION:OrgProjectUsefulInterface 706s # * @title: OrgProjectUsefulInterface 706s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 706s # * 706s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 706s # */ 706s # 706s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 706s # 706s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 706s # { 706s # { 706s # -1, 706s # (gchar *) "arg_asv", 706s # (gchar *) "a{sv}", 706s # NULL 706s # }, 706s # FALSE 706s # }; 706s # 706s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 706s # { 706s # { 706s # -1, 706s # (gchar *) "SingleArgMethodAsv", 706s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 706s # NULL, 706s # NULL 706s # }, 706s # "handle-single-arg-method-asv", 706s # FALSE 706s # }; 706s # 706s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 706s # { 706s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 706s # NULL 706s # }; 706s # 706s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 706s # { 706s # { 706s # -1, 706s # (gchar *) "org.project.UsefulInterface", 706s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 706s # NULL, 706s # NULL, 706s # NULL 706s # }, 706s # "org-project-useful-interface", 706s # }; 706s # 706s # 706s # /** 706s # * org_project_useful_interface_interface_info: 706s # * 706s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 706s # * 706s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 706s # */ 706s # GDBusInterfaceInfo * 706s # org_project_useful_interface_interface_info (void) 706s # { 706s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_override_properties: 706s # * @klass: The class structure for a #GObject derived class. 706s # * @property_id_begin: The property id to assign to the first overridden property. 706s # * 706s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 706s # * The properties are overridden in the order they are defined. 706s # * 706s # * Returns: The last property id. 706s # */ 706s # guint 706s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 706s # { 706s # return property_id_begin - 1; 706s # } 706s # 706s # 706s # inline static void 706s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 706s # GClosure *closure, 706s # GValue *return_value, 706s # unsigned int n_param_values, 706s # const GValue *param_values, 706s # void *invocation_hint, 706s # void *marshal_data) 706s # { 706s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 706s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 706s # } 706s # 706s # 706s # /** 706s # * OrgProjectUsefulInterface: 706s # * 706s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceIface: 706s # * @parent_iface: The parent interface. 706s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 706s # * 706s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 706s # */ 706s # 706s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 706s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 706s # 706s # static void 706s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 706s # { 706s # /* GObject signals for incoming D-Bus method calls: */ 706s # /** 706s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: A #GDBusMethodInvocation. 706s # * @arg_arg_asv: Argument passed by remote caller. 706s # * 706s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 706s # * 706s # * 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. 706s # * 706s # * 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. 706s # */ 706s # g_signal_new ("handle-single-arg-method-asv", 706s # G_TYPE_FROM_INTERFACE (iface), 706s # G_SIGNAL_RUN_LAST, 706s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 706s # g_signal_accumulator_true_handled, 706s # NULL, 706s # org_project_useful_interface_method_marshal_single_arg_method_asv, 706s # G_TYPE_BOOLEAN, 706s # 2, 706s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 706s # 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_asv: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_asv: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 706s # */ 706s # void 706s # org_project_useful_interface_call_single_arg_method_asv ( 706s # OrgProjectUsefulInterface *proxy, 706s # GVariant *arg_arg_asv, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAsv", 706s # g_variant_new ("(@a{sv})", 706s # arg_arg_asv), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # callback, 706s # user_data); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_asv_finish: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_asv_finish ( 706s # OrgProjectUsefulInterface *proxy, 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_call_single_arg_method_asv_sync: 706s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 706s # * @arg_arg_asv: Argument to pass with the method invocation. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL. 706s # * 706s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 706s # * 706s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 706s # */ 706s # gboolean 706s # org_project_useful_interface_call_single_arg_method_asv_sync ( 706s # OrgProjectUsefulInterface *proxy, 706s # GVariant *arg_arg_asv, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GVariant *_ret; 706s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 706s # "SingleArgMethodAsv", 706s # g_variant_new ("(@a{sv})", 706s # arg_arg_asv), 706s # G_DBUS_CALL_FLAGS_NONE, 706s # -1, 706s # cancellable, 706s # error); 706s # if (_ret == NULL) 706s # goto _out; 706s # g_variant_get (_ret, 706s # "()"); 706s # g_variant_unref (_ret); 706s # _out: 706s # return _ret != NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_complete_single_arg_method_asv: 706s # * @object: A #OrgProjectUsefulInterface. 706s # * @invocation: (transfer full): A #GDBusMethodInvocation. 706s # * 706s # * 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. 706s # * 706s # * This method will free @invocation, you cannot use it afterwards. 706s # */ 706s # void 706s # org_project_useful_interface_complete_single_arg_method_asv ( 706s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 706s # GDBusMethodInvocation *invocation) 706s # { 706s # g_dbus_method_invocation_return_value (invocation, 706s # g_variant_new ("()")); 706s # } 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxy: 706s # * 706s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceProxyClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceProxy. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceProxyPrivate 706s # { 706s # GData *qdata; 706s # }; 706s # 706s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_proxy_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 706s # g_datalist_clear (&proxy->priv->qdata); 706s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 706s # guint prop_id G_GNUC_UNUSED, 706s # const GValue *value G_GNUC_UNUSED, 706s # GParamSpec *pspec G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 706s # const gchar *sender_name G_GNUC_UNUSED, 706s # const gchar *signal_name, 706s # GVariant *parameters) 706s # { 706s # _ExtendedGDBusSignalInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # gsize n; 706s # guint signal_id; 706s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 706s # if (info == NULL) 706s # return; 706s # num_params = g_variant_n_children (parameters); 706s # paramv = g_new0 (GValue, num_params + 1); 706s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[0], proxy); 706s # g_variant_iter_init (&iter, parameters); 706s # n = 1; 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_signal_emitv (paramv, signal_id, 0, NULL); 706s # for (n = 0; n < num_params + 1; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 706s # GVariant *changed_properties, 706s # const gchar *const *invalidated_properties) 706s # { 706s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 706s # guint n; 706s # const gchar *key; 706s # GVariantIter *iter; 706s # _ExtendedGDBusPropertyInfo *info; 706s # g_variant_get (changed_properties, "a{sv}", &iter); 706s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 706s # g_datalist_remove_data (&proxy->priv->qdata, key); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # g_variant_iter_free (iter); 706s # for (n = 0; invalidated_properties[n] != NULL; n++) 706s # { 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 706s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 706s # if (info != NULL) 706s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 706s # } 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 706s # #else 706s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 706s # #endif 706s # 706s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusProxyClass *proxy_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 706s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 706s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 706s # 706s # proxy_class = G_DBUS_PROXY_CLASS (klass); 706s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 706s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_sync: 706s # * @connection: A #GDBusConnection. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_sync ( 706s # GDBusConnection *connection, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 706s # * @user_data: User data to pass to @callback. 706s # * 706s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 706s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 706s # */ 706s # void 706s # org_project_useful_interface_proxy_new_for_bus ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GAsyncReadyCallback callback, 706s # gpointer user_data) 706s # { 706s # g_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); 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_finish: 706s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 706s # * @error: Return location for error or %NULL 706s # * 706s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_finish ( 706s # GAsyncResult *res, 706s # GError **error) 706s # { 706s # GObject *ret; 706s # GObject *source_object; 706s # source_object = g_async_result_get_source_object (res); 706s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 706s # g_object_unref (source_object); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_proxy_new_for_bus_sync: 706s # * @bus_type: A #GBusType. 706s # * @flags: Flags from the #GDBusProxyFlags enumeration. 706s # * @name: A bus name (well-known or unique). 706s # * @object_path: An object path. 706s # * @cancellable: (nullable): A #GCancellable or %NULL. 706s # * @error: Return location for error or %NULL 706s # * 706s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 706s # * 706s # * The calling thread is blocked until a reply is received. 706s # * 706s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_proxy_new_for_bus_sync ( 706s # GBusType bus_type, 706s # GDBusProxyFlags flags, 706s # const gchar *name, 706s # const gchar *object_path, 706s # GCancellable *cancellable, 706s # GError **error) 706s # { 706s # GInitable *ret; 706s # 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); 706s # if (ret != NULL) 706s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 706s # else 706s # return NULL; 706s # } 706s # 706s # 706s # /* ------------------------------------------------------------------------ */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeleton: 706s # * 706s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 706s # */ 706s # 706s # /** 706s # * OrgProjectUsefulInterfaceSkeletonClass: 706s # * @parent_class: The parent class. 706s # * 706s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 706s # */ 706s # 706s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 706s # { 706s # GValue *properties; 706s # GList *changed_properties; 706s # GSource *changed_properties_idle_source; 706s # GMainContext *context; 706s # GMutex lock; 706s # }; 706s # 706s # static void 706s # _org_project_useful_interface_skeleton_handle_method_call ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name, 706s # const gchar *method_name, 706s # GVariant *parameters, 706s # GDBusMethodInvocation *invocation, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # _ExtendedGDBusMethodInfo *info; 706s # GVariantIter iter; 706s # GVariant *child; 706s # GValue *paramv; 706s # gsize num_params; 706s # guint num_extra; 706s # gsize n; 706s # guint signal_id; 706s # GValue return_value = G_VALUE_INIT; 706s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 706s # g_assert (info != NULL); 706s # num_params = g_variant_n_children (parameters); 706s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 706s # n = 0; 706s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_set_object (¶mv[n++], skeleton); 706s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 706s # g_value_set_object (¶mv[n++], invocation); 706s # if (info->pass_fdlist) 706s # { 706s # #ifdef G_OS_UNIX 706s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 706s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 706s # #else 706s # g_assert_not_reached (); 706s # #endif 706s # } 706s # g_variant_iter_init (&iter, parameters); 706s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 706s # { 706s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 706s # if (arg_info->use_gvariant) 706s # { 706s # g_value_init (¶mv[n], G_TYPE_VARIANT); 706s # g_value_set_variant (¶mv[n], child); 706s # n++; 706s # } 706s # else 706s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 706s # g_variant_unref (child); 706s # } 706s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 706s # g_value_init (&return_value, G_TYPE_BOOLEAN); 706s # g_signal_emitv (paramv, signal_id, 0, &return_value); 706s # if (!g_value_get_boolean (&return_value)) 706s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 706s # g_value_unset (&return_value); 706s # for (n = 0; n < num_params + num_extra; n++) 706s # g_value_unset (¶mv[n]); 706s # g_free (paramv); 706s # } 706s # 706s # static GVariant * 706s # _org_project_useful_interface_skeleton_handle_get_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # GVariant *ret; 706s # ret = NULL; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # g_value_init (&value, pspec->value_type); 706s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 706s # g_value_unset (&value); 706s # } 706s # return ret; 706s # } 706s # 706s # static gboolean 706s # _org_project_useful_interface_skeleton_handle_set_property ( 706s # GDBusConnection *connection G_GNUC_UNUSED, 706s # const gchar *sender G_GNUC_UNUSED, 706s # const gchar *object_path G_GNUC_UNUSED, 706s # const gchar *interface_name G_GNUC_UNUSED, 706s # const gchar *property_name, 706s # GVariant *variant, 706s # GError **error, 706s # gpointer user_data) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 706s # GValue value = G_VALUE_INIT; 706s # GParamSpec *pspec; 706s # _ExtendedGDBusPropertyInfo *info; 706s # gboolean ret; 706s # ret = FALSE; 706s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 706s # g_assert (info != NULL); 706s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 706s # if (pspec == NULL) 706s # { 706s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 706s # } 706s # else 706s # { 706s # if (info->use_gvariant) 706s # g_value_set_variant (&value, variant); 706s # else 706s # g_dbus_gvariant_to_gvalue (variant, &value); 706s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 706s # g_value_unset (&value); 706s # ret = TRUE; 706s # } 706s # return ret; 706s # } 706s # 706s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 706s # { 706s # _org_project_useful_interface_skeleton_handle_method_call, 706s # _org_project_useful_interface_skeleton_handle_get_property, 706s # _org_project_useful_interface_skeleton_handle_set_property, 706s # {NULL} 706s # }; 706s # 706s # static GDBusInterfaceInfo * 706s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return org_project_useful_interface_interface_info (); 706s # } 706s # 706s # static GDBusInterfaceVTable * 706s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 706s # { 706s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 706s # } 706s # 706s # static GVariant * 706s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 706s # 706s # GVariantBuilder builder; 706s # guint n; 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 706s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #else 706s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 706s # #endif 706s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 706s # goto out; 706s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 706s # { 706s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 706s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 706s # { 706s # GVariant *value; 706s # 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); 706s # if (value != NULL) 706s # { 706s # g_variant_take_ref (value); 706s # g_variant_builder_add (&builder, "{sv}", info->name, value); 706s # g_variant_unref (value); 706s # } 706s # } 706s # } 706s # out: 706s # return g_variant_builder_end (&builder); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #else 706s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 706s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 706s # 706s # #endif 706s # static void 706s # org_project_useful_interface_skeleton_finalize (GObject *object) 706s # { 706s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 706s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 706s # if (skeleton->priv->changed_properties_idle_source != NULL) 706s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 706s # g_main_context_unref (skeleton->priv->context); 706s # g_mutex_clear (&skeleton->priv->lock); 706s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 706s # { 706s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 706s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 706s # #else 706s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 706s # #endif 706s # 706s # g_mutex_init (&skeleton->priv->lock); 706s # skeleton->priv->context = g_main_context_ref_thread_default (); 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 706s # { 706s # GObjectClass *gobject_class; 706s # GDBusInterfaceSkeletonClass *skeleton_class; 706s # 706s # gobject_class = G_OBJECT_CLASS (klass); 706s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 706s # 706s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 706s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 706s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 706s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 706s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 706s # 706s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 706s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 706s # #endif 706s # } 706s # 706s # static void 706s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 706s # { 706s # } 706s # 706s # /** 706s # * org_project_useful_interface_skeleton_new: 706s # * 706s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 706s # * 706s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 706s # */ 706s # OrgProjectUsefulInterface * 706s # org_project_useful_interface_skeleton_new (void) 706s # { 706s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 706s # } 706s # Error: 707s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmprdrxymx6 707s # /tmp/tmprdrxymx6/tmpjwci4dtg.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpjwci4dtg.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_b", 707s # (gchar *) "b", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodB", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-b", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_b ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-b", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_b, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_b: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_b ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodB", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_b_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_b_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gboolean *out_arg_b, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(b)", 707s # out_arg_b); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_b_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_b_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gboolean *out_arg_b, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodB", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(b)", 707s # out_arg_b); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_b: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_b: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_b ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # gboolean arg_b) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(b)", 707s # arg_b)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpmjk7c8tx.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpmjk7c8tx.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_y", 707s # (gchar *) "y", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodY", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-y", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_y ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-y", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_y, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_y: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_y ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodY", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_y_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_y_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # guchar *out_arg_y, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(y)", 707s # out_arg_y); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_y_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_y_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # guchar *out_arg_y, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodY", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(y)", 707s # out_arg_y); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_y: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_y: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_y ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # guchar arg_y) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(y)", 707s # arg_y)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmp0zkpve6z.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmp0zkpve6z.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_n", 707s # (gchar *) "n", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodN", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-n", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_n ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-n", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_n, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_n: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_n ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodN", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_n_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_n_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gint16 *out_arg_n, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(n)", 707s # out_arg_n); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_n_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_n_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gint16 *out_arg_n, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodN", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(n)", 707s # out_arg_n); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_n: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_n: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_n ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # gint16 arg_n) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(n)", 707s # arg_n)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmp298kn36l.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmp298kn36l.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_q", 707s # (gchar *) "q", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodQ", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-q", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_q ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-q", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_q, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_q: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_q ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodQ", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_q_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_q_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # guint16 *out_arg_q, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(q)", 707s # out_arg_q); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_q_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_q_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # guint16 *out_arg_q, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodQ", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(q)", 707s # out_arg_q); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_q: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_q: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_q ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # guint16 arg_q) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(q)", 707s # arg_q)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpi3myfl3g.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpi3myfl3g.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_i", 707s # (gchar *) "i", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodI", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-i", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_i ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-i", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_i, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_i: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_i ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodI", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_i_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_i_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gint *out_arg_i, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(i)", 707s # out_arg_i); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_i_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_i_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gint *out_arg_i, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodI", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(i)", 707s # out_arg_i); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_i: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_i: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_i ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # gint arg_i) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(i)", 707s # arg_i)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpgz3c2jek.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpgz3c2jek.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_u", 707s # (gchar *) "u", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodU", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-u", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_u ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-u", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_u, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_u: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_u ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodU", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_u_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_u_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # guint *out_arg_u, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(u)", 707s # out_arg_u); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_u_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_u_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # guint *out_arg_u, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodU", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(u)", 707s # out_arg_u); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_u: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_u: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_u ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # guint arg_u) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(u)", 707s # arg_u)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmp9ig0ybuu.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmp9ig0ybuu.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_x", 707s # (gchar *) "x", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodX", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-x", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_x ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-x", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_x, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_x: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_x ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodX", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_x_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_x_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gint64 *out_arg_x, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(x)", 707s # out_arg_x); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_x_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_x_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gint64 *out_arg_x, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodX", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(x)", 707s # out_arg_x); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_x: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_x: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_x ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # gint64 arg_x) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(x)", 707s # arg_x)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmprhk9oqz5.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmprhk9oqz5.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_t", 707s # (gchar *) "t", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodT", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-t", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_t ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-t", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_t, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_t: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_t ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodT", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_t_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_t_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # guint64 *out_arg_t, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(t)", 707s # out_arg_t); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_t_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_t_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # guint64 *out_arg_t, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodT", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(t)", 707s # out_arg_t); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_t: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_t: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_t ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # guint64 arg_t) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(t)", 707s # arg_t)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpcs8z6gtf.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpcs8z6gtf.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_d", 707s # (gchar *) "d", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodD", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-d", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_d ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-d", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_d, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_d: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_d ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodD", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_d_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_d_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gdouble *out_arg_d, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(d)", 707s # out_arg_d); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_d_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_d_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gdouble *out_arg_d, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodD", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(d)", 707s # out_arg_d); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_d: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_d: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_d ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # gdouble arg_d) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(d)", 707s # arg_d)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmplwz3g_z0.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmplwz3g_z0.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_s", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodS", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-s", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_s ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-s", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_s, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_s: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_s ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodS", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_s_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_s_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_s, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(s)", 707s # out_arg_s); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_s_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_s_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_s, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodS", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(s)", 707s # out_arg_s); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_s: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_s: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_s ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # const gchar *arg_s) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(s)", 707s # arg_s)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpe09t90ow.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpe09t90ow.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_o", 707s # (gchar *) "o", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodO", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-o", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_o ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-o", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_o, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_o: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_o ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodO", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_o_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_o_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_o, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(o)", 707s # out_arg_o); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_o_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_o_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_o, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodO", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(o)", 707s # out_arg_o); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_o: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_o: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_o ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # const gchar *arg_o) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(o)", 707s # arg_o)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmp942t09ph.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmp942t09ph.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_g", 707s # (gchar *) "g", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodG", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-g", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_g ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-g", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_g, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_g: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_g ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodG", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_g_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_g_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_g, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(g)", 707s # out_arg_g); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_g_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_g_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_g, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodG", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(g)", 707s # out_arg_g); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_g: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_g: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_g ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # const gchar *arg_g) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(g)", 707s # arg_g)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmp2f19jb7p.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmp2f19jb7p.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_h", 707s # (gchar *) "h", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodH", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-h", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_h ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-h", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_h, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_h: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_h ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodH", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_h_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_h_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # GVariant **out_arg_h, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(@h)", 707s # out_arg_h); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_h_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_h_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # GVariant **out_arg_h, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodH", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(@h)", 707s # out_arg_h); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_h: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_h: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_h ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # GVariant *arg_h) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(@h)", 707s # arg_h)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmp17pr03v0.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmp17pr03v0.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_ay", 707s # (gchar *) "ay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodAy", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-ay", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-ay", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_ay, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_ay: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_ay ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAy", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_ay_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_ay_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_ay, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^ay)", 707s # out_arg_ay); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_ay_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_ay_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar **out_arg_ay, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAy", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^ay)", 707s # out_arg_ay); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_ay: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_ay: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_ay ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # const gchar *arg_ay) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(^ay)", 707s # arg_ay)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpw5tfgmrb.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpw5tfgmrb.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_as", 707s # (gchar *) "as", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodAs", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-as", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_as ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-as", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_as, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_as: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_as ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAs", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_as_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_as_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar ***out_arg_as, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^as)", 707s # out_arg_as); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_as_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_as_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar ***out_arg_as, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAs", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^as)", 707s # out_arg_as); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_as: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_as: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_as ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # const gchar *const *arg_as) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(^as)", 707s # arg_as)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpd3esanty.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpd3esanty.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_ao", 707s # (gchar *) "ao", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodAo", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-ao", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-ao", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_ao, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_ao: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_ao ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAo", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_ao_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_ao_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar ***out_arg_ao, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^ao)", 707s # out_arg_ao); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_ao_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_ao_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar ***out_arg_ao, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAo", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^ao)", 707s # out_arg_ao); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_ao: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_ao: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_ao ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # const gchar *const *arg_ao) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(^ao)", 707s # arg_ao)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpb4w2pu2u.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpb4w2pu2u.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_aay", 707s # (gchar *) "aay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodAay", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-aay", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-aay", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_aay, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_aay: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_aay ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAay", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_aay_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_aay_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar ***out_arg_aay, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^aay)", 707s # out_arg_aay); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_aay_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_aay_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # gchar ***out_arg_aay, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAay", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(^aay)", 707s # out_arg_aay); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_aay: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_aay: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_aay ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # const gchar *const *arg_aay) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(^aay)", 707s # arg_aay)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s # 707s # /tmp/tmprdrxymx6/tmpc9_3l6kv.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdrxymx6/tmpc9_3l6kv.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "arg_asv", 707s # (gchar *) "a{sv}", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgMethodAsv", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-single-arg-method-asv", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-single-arg-method-asv", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_useful_interface_method_marshal_single_arg_method_asv, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_asv: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_useful_interface_call_single_arg_method_asv ( 707s # OrgProjectUsefulInterface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAsv", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_asv_finish: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_asv_finish ( 707s # OrgProjectUsefulInterface *proxy, 707s # GVariant **out_arg_asv, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(@a{sv})", 707s # out_arg_asv); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_call_single_arg_method_asv_sync: 707s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 707s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_useful_interface_call_single_arg_method_asv_sync ( 707s # OrgProjectUsefulInterface *proxy, 707s # GVariant **out_arg_asv, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SingleArgMethodAsv", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(@a{sv})", 707s # out_arg_asv); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_complete_single_arg_method_asv: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @arg_asv: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_useful_interface_complete_single_arg_method_asv ( 707s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # GVariant *arg_asv) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(@a{sv})", 707s # arg_asv)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpm3wsislh 707s # /tmp/tmpm3wsislh/tmp2cmnz3nf.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpm3wsislh/tmp2cmnz3nf.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 20); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # g_marshal_value_peek_boolean (param_values + 2), 707s # g_marshal_value_peek_uchar (param_values + 3), 707s # g_marshal_value_peek_int (param_values + 4), 707s # g_marshal_value_peek_uint (param_values + 5), 707s # g_marshal_value_peek_int (param_values + 6), 707s # g_marshal_value_peek_uint (param_values + 7), 707s # g_marshal_value_peek_int64 (param_values + 8), 707s # g_marshal_value_peek_uint64 (param_values + 9), 707s # g_marshal_value_peek_double (param_values + 10), 707s # g_marshal_value_peek_string (param_values + 11), 707s # g_marshal_value_peek_string (param_values + 12), 707s # g_marshal_value_peek_string (param_values + 13), 707s # g_marshal_value_peek_variant (param_values + 14), 707s # g_marshal_value_peek_string (param_values + 15), 707s # g_marshal_value_peek_boxed (param_values + 16), 707s # g_marshal_value_peek_boxed (param_values + 17), 707s # g_marshal_value_peek_boxed (param_values + 18), 707s # g_marshal_value_peek_variant (param_values + 19), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.CallableIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectCallableIface 707s # * @title: OrgProjectCallableIface 707s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.CallableIface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_b", 707s # (gchar *) "b", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_y", 707s # (gchar *) "y", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_n", 707s # (gchar *) "n", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_q", 707s # (gchar *) "q", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_i", 707s # (gchar *) "i", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_u", 707s # (gchar *) "u", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_x", 707s # (gchar *) "x", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_t", 707s # (gchar *) "t", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_d", 707s # (gchar *) "d", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_s", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_o", 707s # (gchar *) "o", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_g", 707s # (gchar *) "g", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_h", 707s # (gchar *) "h", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ay", 707s # (gchar *) "ay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_as", 707s # (gchar *) "as", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ao", 707s # (gchar *) "ao", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_aay", 707s # (gchar *) "aay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_asv", 707s # (gchar *) "a{sv}", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 707s # { 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 707s # { 707s # { 707s # -1, 707s # (gchar *) "MethodWithManyArgs", 707s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "handle-method-with-many-args", 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_b", 707s # (gchar *) "b", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_y", 707s # (gchar *) "y", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_n", 707s # (gchar *) "n", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_q", 707s # (gchar *) "q", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_i", 707s # (gchar *) "i", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_u", 707s # (gchar *) "u", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_x", 707s # (gchar *) "x", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_t", 707s # (gchar *) "t", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_d", 707s # (gchar *) "d", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_s", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_o", 707s # (gchar *) "o", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_g", 707s # (gchar *) "g", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_h", 707s # (gchar *) "h", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ay", 707s # (gchar *) "ay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_as", 707s # (gchar *) "as", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ao", 707s # (gchar *) "ao", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_aay", 707s # (gchar *) "aay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_asv", 707s # (gchar *) "a{sv}", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 707s # { 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SameMethodWithManyArgs", 707s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "handle-same-method-with-many-args", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 707s # { 707s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 707s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.CallableIface", 707s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-callable-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_callable_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_callable_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_callable_iface_method_marshal_method_with_many_args ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _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, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _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, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectCallableIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 707s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.CallableIface. 707s # */ 707s # 707s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectCallableIface::handle-method-with-many-args: 707s # * @object: A #OrgProjectCallableIface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * @arg_an_b: Argument passed by remote caller. 707s # * @arg_an_y: Argument passed by remote caller. 707s # * @arg_an_n: Argument passed by remote caller. 707s # * @arg_an_q: Argument passed by remote caller. 707s # * @arg_an_i: Argument passed by remote caller. 707s # * @arg_an_u: Argument passed by remote caller. 707s # * @arg_an_x: Argument passed by remote caller. 707s # * @arg_an_t: Argument passed by remote caller. 707s # * @arg_an_d: Argument passed by remote caller. 707s # * @arg_an_s: Argument passed by remote caller. 707s # * @arg_an_o: Argument passed by remote caller. 707s # * @arg_an_g: Argument passed by remote caller. 707s # * @arg_an_h: Argument passed by remote caller. 707s # * @arg_an_ay: Argument passed by remote caller. 707s # * @arg_an_as: Argument passed by remote caller. 707s # * @arg_an_ao: Argument passed by remote caller. 707s # * @arg_an_aay: Argument passed by remote caller. 707s # * @arg_an_asv: Argument passed by remote caller. 707s # * 707s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-method-with-many-args", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_callable_iface_method_marshal_method_with_many_args, 707s # G_TYPE_BOOLEAN, 707s # 19, 707s # 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); 707s # 707s # /** 707s # * OrgProjectCallableIface::handle-same-method-with-many-args: 707s # * @object: A #OrgProjectCallableIface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * @arg_an_b: Argument passed by remote caller. 707s # * @arg_an_y: Argument passed by remote caller. 707s # * @arg_an_n: Argument passed by remote caller. 707s # * @arg_an_q: Argument passed by remote caller. 707s # * @arg_an_i: Argument passed by remote caller. 707s # * @arg_an_u: Argument passed by remote caller. 707s # * @arg_an_x: Argument passed by remote caller. 707s # * @arg_an_t: Argument passed by remote caller. 707s # * @arg_an_d: Argument passed by remote caller. 707s # * @arg_an_s: Argument passed by remote caller. 707s # * @arg_an_o: Argument passed by remote caller. 707s # * @arg_an_g: Argument passed by remote caller. 707s # * @arg_an_h: Argument passed by remote caller. 707s # * @arg_an_ay: Argument passed by remote caller. 707s # * @arg_an_as: Argument passed by remote caller. 707s # * @arg_an_ao: Argument passed by remote caller. 707s # * @arg_an_aay: Argument passed by remote caller. 707s # * @arg_an_asv: Argument passed by remote caller. 707s # * 707s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-same-method-with-many-args", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_callable_iface_method_marshal_same_method_with_many_args, 707s # G_TYPE_BOOLEAN, 707s # 19, 707s # 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); 707s # 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_method_with_many_args: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @arg_an_b: Argument to pass with the method invocation. 707s # * @arg_an_y: Argument to pass with the method invocation. 707s # * @arg_an_n: Argument to pass with the method invocation. 707s # * @arg_an_q: Argument to pass with the method invocation. 707s # * @arg_an_i: Argument to pass with the method invocation. 707s # * @arg_an_u: Argument to pass with the method invocation. 707s # * @arg_an_x: Argument to pass with the method invocation. 707s # * @arg_an_t: Argument to pass with the method invocation. 707s # * @arg_an_d: Argument to pass with the method invocation. 707s # * @arg_an_s: Argument to pass with the method invocation. 707s # * @arg_an_o: Argument to pass with the method invocation. 707s # * @arg_an_g: Argument to pass with the method invocation. 707s # * @arg_an_h: Argument to pass with the method invocation. 707s # * @arg_an_ay: Argument to pass with the method invocation. 707s # * @arg_an_as: Argument to pass with the method invocation. 707s # * @arg_an_ao: Argument to pass with the method invocation. 707s # * @arg_an_aay: Argument to pass with the method invocation. 707s # * @arg_an_asv: Argument to pass with the method invocation. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 707s # * 707s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_callable_iface_call_method_with_many_args ( 707s # OrgProjectCallableIface *proxy, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "MethodWithManyArgs", 707s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # arg_an_b, 707s # arg_an_y, 707s # arg_an_n, 707s # arg_an_q, 707s # arg_an_i, 707s # arg_an_u, 707s # arg_an_x, 707s # arg_an_t, 707s # arg_an_d, 707s # arg_an_s, 707s # arg_an_o, 707s # arg_an_g, 707s # arg_an_h, 707s # arg_an_ay, 707s # arg_an_as, 707s # arg_an_ao, 707s # arg_an_aay, 707s # arg_an_asv), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_method_with_many_args_finish: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_callable_iface_call_method_with_many_args_finish ( 707s # OrgProjectCallableIface *proxy, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "()"); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_method_with_many_args_sync: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @arg_an_b: Argument to pass with the method invocation. 707s # * @arg_an_y: Argument to pass with the method invocation. 707s # * @arg_an_n: Argument to pass with the method invocation. 707s # * @arg_an_q: Argument to pass with the method invocation. 707s # * @arg_an_i: Argument to pass with the method invocation. 707s # * @arg_an_u: Argument to pass with the method invocation. 707s # * @arg_an_x: Argument to pass with the method invocation. 707s # * @arg_an_t: Argument to pass with the method invocation. 707s # * @arg_an_d: Argument to pass with the method invocation. 707s # * @arg_an_s: Argument to pass with the method invocation. 707s # * @arg_an_o: Argument to pass with the method invocation. 707s # * @arg_an_g: Argument to pass with the method invocation. 707s # * @arg_an_h: Argument to pass with the method invocation. 707s # * @arg_an_ay: Argument to pass with the method invocation. 707s # * @arg_an_as: Argument to pass with the method invocation. 707s # * @arg_an_ao: Argument to pass with the method invocation. 707s # * @arg_an_aay: Argument to pass with the method invocation. 707s # * @arg_an_asv: Argument to pass with the method invocation. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_callable_iface_call_method_with_many_args_sync ( 707s # OrgProjectCallableIface *proxy, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "MethodWithManyArgs", 707s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # arg_an_b, 707s # arg_an_y, 707s # arg_an_n, 707s # arg_an_q, 707s # arg_an_i, 707s # arg_an_u, 707s # arg_an_x, 707s # arg_an_t, 707s # arg_an_d, 707s # arg_an_s, 707s # arg_an_o, 707s # arg_an_g, 707s # arg_an_h, 707s # arg_an_ay, 707s # arg_an_as, 707s # arg_an_ao, 707s # arg_an_aay, 707s # arg_an_asv), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "()"); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_same_method_with_many_args: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @arg_an_b: Argument to pass with the method invocation. 707s # * @arg_an_y: Argument to pass with the method invocation. 707s # * @arg_an_n: Argument to pass with the method invocation. 707s # * @arg_an_q: Argument to pass with the method invocation. 707s # * @arg_an_i: Argument to pass with the method invocation. 707s # * @arg_an_u: Argument to pass with the method invocation. 707s # * @arg_an_x: Argument to pass with the method invocation. 707s # * @arg_an_t: Argument to pass with the method invocation. 707s # * @arg_an_d: Argument to pass with the method invocation. 707s # * @arg_an_s: Argument to pass with the method invocation. 707s # * @arg_an_o: Argument to pass with the method invocation. 707s # * @arg_an_g: Argument to pass with the method invocation. 707s # * @arg_an_h: Argument to pass with the method invocation. 707s # * @arg_an_ay: Argument to pass with the method invocation. 707s # * @arg_an_as: Argument to pass with the method invocation. 707s # * @arg_an_ao: Argument to pass with the method invocation. 707s # * @arg_an_aay: Argument to pass with the method invocation. 707s # * @arg_an_asv: Argument to pass with the method invocation. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 707s # * 707s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_callable_iface_call_same_method_with_many_args ( 707s # OrgProjectCallableIface *proxy, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "SameMethodWithManyArgs", 707s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # arg_an_b, 707s # arg_an_y, 707s # arg_an_n, 707s # arg_an_q, 707s # arg_an_i, 707s # arg_an_u, 707s # arg_an_x, 707s # arg_an_t, 707s # arg_an_d, 707s # arg_an_s, 707s # arg_an_o, 707s # arg_an_g, 707s # arg_an_h, 707s # arg_an_ay, 707s # arg_an_as, 707s # arg_an_ao, 707s # arg_an_aay, 707s # arg_an_asv), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_same_method_with_many_args_finish: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_callable_iface_call_same_method_with_many_args_finish ( 707s # OrgProjectCallableIface *proxy, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "()"); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_same_method_with_many_args_sync: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @arg_an_b: Argument to pass with the method invocation. 707s # * @arg_an_y: Argument to pass with the method invocation. 707s # * @arg_an_n: Argument to pass with the method invocation. 707s # * @arg_an_q: Argument to pass with the method invocation. 707s # * @arg_an_i: Argument to pass with the method invocation. 707s # * @arg_an_u: Argument to pass with the method invocation. 707s # * @arg_an_x: Argument to pass with the method invocation. 707s # * @arg_an_t: Argument to pass with the method invocation. 707s # * @arg_an_d: Argument to pass with the method invocation. 707s # * @arg_an_s: Argument to pass with the method invocation. 707s # * @arg_an_o: Argument to pass with the method invocation. 707s # * @arg_an_g: Argument to pass with the method invocation. 707s # * @arg_an_h: Argument to pass with the method invocation. 707s # * @arg_an_ay: Argument to pass with the method invocation. 707s # * @arg_an_as: Argument to pass with the method invocation. 707s # * @arg_an_ao: Argument to pass with the method invocation. 707s # * @arg_an_aay: Argument to pass with the method invocation. 707s # * @arg_an_asv: Argument to pass with the method invocation. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_callable_iface_call_same_method_with_many_args_sync ( 707s # OrgProjectCallableIface *proxy, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "SameMethodWithManyArgs", 707s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # arg_an_b, 707s # arg_an_y, 707s # arg_an_n, 707s # arg_an_q, 707s # arg_an_i, 707s # arg_an_u, 707s # arg_an_x, 707s # arg_an_t, 707s # arg_an_d, 707s # arg_an_s, 707s # arg_an_o, 707s # arg_an_g, 707s # arg_an_h, 707s # arg_an_ay, 707s # arg_an_as, 707s # arg_an_ao, 707s # arg_an_aay, 707s # arg_an_asv), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "()"); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_complete_method_with_many_args: 707s # * @object: A #OrgProjectCallableIface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_callable_iface_complete_method_with_many_args ( 707s # OrgProjectCallableIface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("()")); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_complete_same_method_with_many_args: 707s # * @object: A #OrgProjectCallableIface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_callable_iface_complete_same_method_with_many_args ( 707s # OrgProjectCallableIface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("()")); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceProxy: 707s # * 707s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectCallableIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectCallableIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_callable_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_callable_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_callable_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceSkeleton: 707s # * 707s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectCallableIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectCallableIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_callable_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_callable_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_callable_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 707s # { 707s # _org_project_callable_iface_skeleton_handle_method_call, 707s # _org_project_callable_iface_skeleton_handle_get_property, 707s # _org_project_callable_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_callable_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_callable_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.OtherCallableIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectOtherCallableIface 707s # * @title: OrgProjectOtherCallableIface 707s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_b", 707s # (gchar *) "b", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_y", 707s # (gchar *) "y", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_n", 707s # (gchar *) "n", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_q", 707s # (gchar *) "q", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_i", 707s # (gchar *) "i", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_u", 707s # (gchar *) "u", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_x", 707s # (gchar *) "x", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_t", 707s # (gchar *) "t", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_d", 707s # (gchar *) "d", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_s", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_o", 707s # (gchar *) "o", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_g", 707s # (gchar *) "g", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_h", 707s # (gchar *) "h", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ay", 707s # (gchar *) "ay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_as", 707s # (gchar *) "as", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ao", 707s # (gchar *) "ao", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_aay", 707s # (gchar *) "aay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_asv", 707s # (gchar *) "a{sv}", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 707s # { 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 707s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 707s # { 707s # { 707s # -1, 707s # (gchar *) "MethodWithManyArgs", 707s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "handle-method-with-many-args", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 707s # { 707s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.OtherCallableIface", 707s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-other-callable-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_other_callable_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_other_callable_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _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, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectOtherCallableIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherCallableIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 707s # */ 707s # 707s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 707s # * @object: A #OrgProjectOtherCallableIface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * @arg_an_b: Argument passed by remote caller. 707s # * @arg_an_y: Argument passed by remote caller. 707s # * @arg_an_n: Argument passed by remote caller. 707s # * @arg_an_q: Argument passed by remote caller. 707s # * @arg_an_i: Argument passed by remote caller. 707s # * @arg_an_u: Argument passed by remote caller. 707s # * @arg_an_x: Argument passed by remote caller. 707s # * @arg_an_t: Argument passed by remote caller. 707s # * @arg_an_d: Argument passed by remote caller. 707s # * @arg_an_s: Argument passed by remote caller. 707s # * @arg_an_o: Argument passed by remote caller. 707s # * @arg_an_g: Argument passed by remote caller. 707s # * @arg_an_h: Argument passed by remote caller. 707s # * @arg_an_ay: Argument passed by remote caller. 707s # * @arg_an_as: Argument passed by remote caller. 707s # * @arg_an_ao: Argument passed by remote caller. 707s # * @arg_an_aay: Argument passed by remote caller. 707s # * @arg_an_asv: Argument passed by remote caller. 707s # * 707s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-method-with-many-args", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_other_callable_iface_method_marshal_method_with_many_args, 707s # G_TYPE_BOOLEAN, 707s # 19, 707s # 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); 707s # 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_call_method_with_many_args: 707s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 707s # * @arg_an_b: Argument to pass with the method invocation. 707s # * @arg_an_y: Argument to pass with the method invocation. 707s # * @arg_an_n: Argument to pass with the method invocation. 707s # * @arg_an_q: Argument to pass with the method invocation. 707s # * @arg_an_i: Argument to pass with the method invocation. 707s # * @arg_an_u: Argument to pass with the method invocation. 707s # * @arg_an_x: Argument to pass with the method invocation. 707s # * @arg_an_t: Argument to pass with the method invocation. 707s # * @arg_an_d: Argument to pass with the method invocation. 707s # * @arg_an_s: Argument to pass with the method invocation. 707s # * @arg_an_o: Argument to pass with the method invocation. 707s # * @arg_an_g: Argument to pass with the method invocation. 707s # * @arg_an_h: Argument to pass with the method invocation. 707s # * @arg_an_ay: Argument to pass with the method invocation. 707s # * @arg_an_as: Argument to pass with the method invocation. 707s # * @arg_an_ao: Argument to pass with the method invocation. 707s # * @arg_an_aay: Argument to pass with the method invocation. 707s # * @arg_an_asv: Argument to pass with the method invocation. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 707s # * 707s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_other_callable_iface_call_method_with_many_args ( 707s # OrgProjectOtherCallableIface *proxy, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "MethodWithManyArgs", 707s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # arg_an_b, 707s # arg_an_y, 707s # arg_an_n, 707s # arg_an_q, 707s # arg_an_i, 707s # arg_an_u, 707s # arg_an_x, 707s # arg_an_t, 707s # arg_an_d, 707s # arg_an_s, 707s # arg_an_o, 707s # arg_an_g, 707s # arg_an_h, 707s # arg_an_ay, 707s # arg_an_as, 707s # arg_an_ao, 707s # arg_an_aay, 707s # arg_an_asv), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_call_method_with_many_args_finish: 707s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_other_callable_iface_call_method_with_many_args_finish ( 707s # OrgProjectOtherCallableIface *proxy, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "()"); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_call_method_with_many_args_sync: 707s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 707s # * @arg_an_b: Argument to pass with the method invocation. 707s # * @arg_an_y: Argument to pass with the method invocation. 707s # * @arg_an_n: Argument to pass with the method invocation. 707s # * @arg_an_q: Argument to pass with the method invocation. 707s # * @arg_an_i: Argument to pass with the method invocation. 707s # * @arg_an_u: Argument to pass with the method invocation. 707s # * @arg_an_x: Argument to pass with the method invocation. 707s # * @arg_an_t: Argument to pass with the method invocation. 707s # * @arg_an_d: Argument to pass with the method invocation. 707s # * @arg_an_s: Argument to pass with the method invocation. 707s # * @arg_an_o: Argument to pass with the method invocation. 707s # * @arg_an_g: Argument to pass with the method invocation. 707s # * @arg_an_h: Argument to pass with the method invocation. 707s # * @arg_an_ay: Argument to pass with the method invocation. 707s # * @arg_an_as: Argument to pass with the method invocation. 707s # * @arg_an_ao: Argument to pass with the method invocation. 707s # * @arg_an_aay: Argument to pass with the method invocation. 707s # * @arg_an_asv: Argument to pass with the method invocation. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_other_callable_iface_call_method_with_many_args_sync ( 707s # OrgProjectOtherCallableIface *proxy, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "MethodWithManyArgs", 707s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # arg_an_b, 707s # arg_an_y, 707s # arg_an_n, 707s # arg_an_q, 707s # arg_an_i, 707s # arg_an_u, 707s # arg_an_x, 707s # arg_an_t, 707s # arg_an_d, 707s # arg_an_s, 707s # arg_an_o, 707s # arg_an_g, 707s # arg_an_h, 707s # arg_an_ay, 707s # arg_an_as, 707s # arg_an_ao, 707s # arg_an_aay, 707s # arg_an_asv), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "()"); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_complete_method_with_many_args: 707s # * @object: A #OrgProjectOtherCallableIface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_other_callable_iface_complete_method_with_many_args ( 707s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("()")); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectOtherCallableIfaceProxy: 707s # * 707s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherCallableIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectOtherCallableIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_other_callable_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_other_callable_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherCallableIface * 707s # org_project_other_callable_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherCallableIface * 707s # org_project_other_callable_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_other_callable_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_other_callable_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherCallableIface * 707s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherCallableIface * 707s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectOtherCallableIfaceSkeleton: 707s # * 707s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherCallableIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_other_callable_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_other_callable_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_other_callable_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 707s # { 707s # _org_project_other_callable_iface_skeleton_handle_method_call, 707s # _org_project_other_callable_iface_skeleton_handle_get_property, 707s # _org_project_other_callable_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_other_callable_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_other_callable_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectOtherCallableIface * 707s # org_project_other_callable_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpcu9mfv9a 707s # /tmp/tmpcu9mfv9a/tmptf3p_sa1.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcu9mfv9a/tmptf3p_sa1.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.CallableIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectCallableIface 707s # * @title: OrgProjectCallableIface 707s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for org.project.CallableIface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_b", 707s # (gchar *) "b", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_y", 707s # (gchar *) "y", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_n", 707s # (gchar *) "n", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_q", 707s # (gchar *) "q", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_i", 707s # (gchar *) "i", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_u", 707s # (gchar *) "u", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_x", 707s # (gchar *) "x", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_t", 707s # (gchar *) "t", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_d", 707s # (gchar *) "d", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_s", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_o", 707s # (gchar *) "o", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_g", 707s # (gchar *) "g", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_h", 707s # (gchar *) "h", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ay", 707s # (gchar *) "ay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_as", 707s # (gchar *) "as", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ao", 707s # (gchar *) "ao", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_aay", 707s # (gchar *) "aay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_asv", 707s # (gchar *) "a{sv}", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 707s # { 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 707s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 707s # { 707s # { 707s # -1, 707s # (gchar *) "MethodWithManyArgs", 707s # NULL, 707s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-method-with-many-args", 707s # FALSE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 707s # { 707s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.CallableIface", 707s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-callable-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_callable_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_callable_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_callable_iface_method_marshal_method_with_many_args ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectCallableIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.CallableIface. 707s # */ 707s # 707s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * OrgProjectCallableIface::handle-method-with-many-args: 707s # * @object: A #OrgProjectCallableIface. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * 707s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-method-with-many-args", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # org_project_callable_iface_method_marshal_method_with_many_args, 707s # G_TYPE_BOOLEAN, 707s # 1, 707s # G_TYPE_DBUS_METHOD_INVOCATION); 707s # 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_method_with_many_args: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 707s # * 707s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # org_project_callable_iface_call_method_with_many_args ( 707s # OrgProjectCallableIface *proxy, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 707s # "MethodWithManyArgs", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_method_with_many_args_finish: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_callable_iface_call_method_with_many_args_finish ( 707s # OrgProjectCallableIface *proxy, 707s # gboolean *out_an_b, 707s # guchar *out_an_y, 707s # gint16 *out_an_n, 707s # guint16 *out_an_q, 707s # gint *out_an_i, 707s # guint *out_an_u, 707s # gint64 *out_an_x, 707s # guint64 *out_an_t, 707s # gdouble *out_an_d, 707s # gchar **out_an_s, 707s # gchar **out_an_o, 707s # gchar **out_an_g, 707s # GVariant **out_an_h, 707s # gchar **out_an_ay, 707s # gchar ***out_an_as, 707s # gchar ***out_an_ao, 707s # gchar ***out_an_aay, 707s # GVariant **out_an_asv, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # out_an_b, 707s # out_an_y, 707s # out_an_n, 707s # out_an_q, 707s # out_an_i, 707s # out_an_u, 707s # out_an_x, 707s # out_an_t, 707s # out_an_d, 707s # out_an_s, 707s # out_an_o, 707s # out_an_g, 707s # out_an_h, 707s # out_an_ay, 707s # out_an_as, 707s # out_an_ao, 707s # out_an_aay, 707s # out_an_asv); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_call_method_with_many_args_sync: 707s # * @proxy: A #OrgProjectCallableIfaceProxy. 707s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 707s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # org_project_callable_iface_call_method_with_many_args_sync ( 707s # OrgProjectCallableIface *proxy, 707s # gboolean *out_an_b, 707s # guchar *out_an_y, 707s # gint16 *out_an_n, 707s # guint16 *out_an_q, 707s # gint *out_an_i, 707s # guint *out_an_u, 707s # gint64 *out_an_x, 707s # guint64 *out_an_t, 707s # gdouble *out_an_d, 707s # gchar **out_an_s, 707s # gchar **out_an_o, 707s # gchar **out_an_g, 707s # GVariant **out_an_h, 707s # gchar **out_an_ay, 707s # gchar ***out_an_as, 707s # gchar ***out_an_ao, 707s # gchar ***out_an_aay, 707s # GVariant **out_an_asv, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 707s # "MethodWithManyArgs", 707s # g_variant_new ("()"), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # out_an_b, 707s # out_an_y, 707s # out_an_n, 707s # out_an_q, 707s # out_an_i, 707s # out_an_u, 707s # out_an_x, 707s # out_an_t, 707s # out_an_d, 707s # out_an_s, 707s # out_an_o, 707s # out_an_g, 707s # out_an_h, 707s # out_an_ay, 707s # out_an_as, 707s # out_an_ao, 707s # out_an_aay, 707s # out_an_asv); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_complete_method_with_many_args: 707s # * @object: A #OrgProjectCallableIface. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @an_b: Parameter to return. 707s # * @an_y: Parameter to return. 707s # * @an_n: Parameter to return. 707s # * @an_q: Parameter to return. 707s # * @an_i: Parameter to return. 707s # * @an_u: Parameter to return. 707s # * @an_x: Parameter to return. 707s # * @an_t: Parameter to return. 707s # * @an_d: Parameter to return. 707s # * @an_s: Parameter to return. 707s # * @an_o: Parameter to return. 707s # * @an_g: Parameter to return. 707s # * @an_h: Parameter to return. 707s # * @an_ay: Parameter to return. 707s # * @an_as: Parameter to return. 707s # * @an_ao: Parameter to return. 707s # * @an_aay: Parameter to return. 707s # * @an_asv: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # org_project_callable_iface_complete_method_with_many_args ( 707s # OrgProjectCallableIface *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # gboolean an_b, 707s # guchar an_y, 707s # gint16 an_n, 707s # guint16 an_q, 707s # gint an_i, 707s # guint an_u, 707s # gint64 an_x, 707s # guint64 an_t, 707s # gdouble an_d, 707s # const gchar *an_s, 707s # const gchar *an_o, 707s # const gchar *an_g, 707s # GVariant *an_h, 707s # const gchar *an_ay, 707s # const gchar *const *an_as, 707s # const gchar *const *an_ao, 707s # const gchar *const *an_aay, 707s # GVariant *an_asv) 707s # { 707s # g_dbus_method_invocation_return_value (invocation, 707s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # an_b, 707s # an_y, 707s # an_n, 707s # an_q, 707s # an_i, 707s # an_u, 707s # an_x, 707s # an_t, 707s # an_d, 707s # an_s, 707s # an_o, 707s # an_g, 707s # an_h, 707s # an_ay, 707s # an_as, 707s # an_ao, 707s # an_aay, 707s # an_asv)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceProxy: 707s # * 707s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectCallableIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectCallableIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_callable_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_callable_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_callable_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_CALLABLE_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceSkeleton: 707s # * 707s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectCallableIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectCallableIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectCallableIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_callable_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_callable_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_callable_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 707s # { 707s # _org_project_callable_iface_skeleton_handle_method_call, 707s # _org_project_callable_iface_skeleton_handle_get_property, 707s # _org_project_callable_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_callable_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_callable_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_callable_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectCallableIface * 707s # org_project_callable_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpw2t3k9dg 707s # /tmp/tmpw2t3k9dg/tmpvfnkwz13.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw2t3k9dg/tmpvfnkwz13.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 707s # (void *data1, 707s # GDBusMethodInvocation *arg_method_invocation, 707s # GUnixFDList *arg_fd_list, 707s # const gchar *arg_greeting, 707s # void *data2); 707s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # gboolean v_return; 707s # 707s # g_return_if_fail (return_value != NULL); 707s # g_return_if_fail (n_param_values == 4); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # v_return = 707s # callback (data1, 707s # g_marshal_value_peek_object (param_values + 1), 707s # g_marshal_value_peek_object (param_values + 2), 707s # g_marshal_value_peek_string (param_values + 3), 707s # data2); 707s # 707s # g_value_set_boolean (return_value, v_return); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface test.FDPassing 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:TestFDPassing 707s # * @title: TestFDPassing 707s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 707s # * 707s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 707s # */ 707s # 707s # /* ---- Introspection data for test.FDPassing ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 707s # { 707s # { 707s # -1, 707s # (gchar *) "greeting", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 707s # { 707s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 707s # { 707s # { 707s # -1, 707s # (gchar *) "response", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 707s # { 707s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 707s # { 707s # { 707s # -1, 707s # (gchar *) "HelloFD", 707s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 707s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 707s # NULL 707s # }, 707s # "handle-hello-fd", 707s # TRUE 707s # }; 707s # 707s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 707s # { 707s # &_test_fdpassing_method_info_hello_fd.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "test.FDPassing", 707s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 707s # NULL, 707s # NULL, 707s # NULL 707s # }, 707s # "test-fdpassing", 707s # }; 707s # 707s # 707s # /** 707s # * test_fdpassing_interface_info: 707s # * 707s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # test_fdpassing_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * test_fdpassing_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # test_fdpassing_method_marshal_hello_fd ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * TestFDPassing: 707s # * 707s # * Abstract interface type for the D-Bus interface test.FDPassing. 707s # */ 707s # 707s # /** 707s # * TestFDPassingIface: 707s # * @parent_iface: The parent interface. 707s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 707s # * 707s # * Virtual table for the D-Bus interface test.FDPassing. 707s # */ 707s # 707s # typedef TestFDPassingIface TestFDPassingInterface; 707s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 707s # 707s # static void 707s # test_fdpassing_default_init (TestFDPassingIface *iface) 707s # { 707s # /* GObject signals for incoming D-Bus method calls: */ 707s # /** 707s # * TestFDPassing::handle-hello-fd: 707s # * @object: A #TestFDPassing. 707s # * @invocation: A #GDBusMethodInvocation. 707s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 707s # * @arg_greeting: Argument passed by remote caller. 707s # * 707s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 707s # * 707s # * 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. 707s # * 707s # * 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. 707s # */ 707s # g_signal_new ("handle-hello-fd", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 707s # g_signal_accumulator_true_handled, 707s # NULL, 707s # test_fdpassing_method_marshal_hello_fd, 707s # G_TYPE_BOOLEAN, 707s # 3, 707s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 707s # 707s # } 707s # 707s # /** 707s # * test_fdpassing_call_hello_fd: 707s # * @proxy: A #TestFDPassingProxy. 707s # * @arg_greeting: Argument to pass with the method invocation. 707s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 707s # * 707s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 707s # */ 707s # void 707s # test_fdpassing_call_hello_fd ( 707s # TestFDPassing *proxy, 707s # const gchar *arg_greeting, 707s # GUnixFDList *fd_list, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 707s # "HelloFD", 707s # g_variant_new ("(s)", 707s # arg_greeting), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # fd_list, 707s # cancellable, 707s # callback, 707s # user_data); 707s # } 707s # 707s # /** 707s # * test_fdpassing_call_hello_fd_finish: 707s # * @proxy: A #TestFDPassingProxy. 707s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # test_fdpassing_call_hello_fd_finish ( 707s # TestFDPassing *proxy, 707s # gchar **out_response, 707s # GUnixFDList **out_fd_list, 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(s)", 707s # out_response); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * test_fdpassing_call_hello_fd_sync: 707s # * @proxy: A #TestFDPassingProxy. 707s # * @arg_greeting: Argument to pass with the method invocation. 707s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 707s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 707s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL. 707s # * 707s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 707s # * 707s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 707s # * 707s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 707s # */ 707s # gboolean 707s # test_fdpassing_call_hello_fd_sync ( 707s # TestFDPassing *proxy, 707s # const gchar *arg_greeting, 707s # GUnixFDList *fd_list, 707s # gchar **out_response, 707s # GUnixFDList **out_fd_list, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GVariant *_ret; 707s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 707s # "HelloFD", 707s # g_variant_new ("(s)", 707s # arg_greeting), 707s # G_DBUS_CALL_FLAGS_NONE, 707s # -1, 707s # fd_list, 707s # out_fd_list, 707s # cancellable, 707s # error); 707s # if (_ret == NULL) 707s # goto _out; 707s # g_variant_get (_ret, 707s # "(s)", 707s # out_response); 707s # g_variant_unref (_ret); 707s # _out: 707s # return _ret != NULL; 707s # } 707s # 707s # /** 707s # * test_fdpassing_complete_hello_fd: 707s # * @object: A #TestFDPassing. 707s # * @invocation: (transfer full): A #GDBusMethodInvocation. 707s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 707s # * @response: Parameter to return. 707s # * 707s # * 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. 707s # * 707s # * This method will free @invocation, you cannot use it afterwards. 707s # */ 707s # void 707s # test_fdpassing_complete_hello_fd ( 707s # TestFDPassing *object G_GNUC_UNUSED, 707s # GDBusMethodInvocation *invocation, 707s # GUnixFDList *fd_list, 707s # const gchar *response) 707s # { 707s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 707s # g_variant_new ("(s)", 707s # response), 707s # fd_list); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * TestFDPassingProxy: 707s # * 707s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * TestFDPassingProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #TestFDPassingProxy. 707s # */ 707s # 707s # struct _TestFDPassingProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (TestFDPassingProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # test_fdpassing_proxy_finalize (GObject *object) 707s # { 707s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 707s # } 707s # 707s # static void 707s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = test_fdpassing_proxy_finalize; 707s # gobject_class->get_property = test_fdpassing_proxy_get_property; 707s # gobject_class->set_property = test_fdpassing_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 707s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * test_fdpassing_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # test_fdpassing_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * test_fdpassing_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with test_fdpassing_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # TestFDPassing * 707s # test_fdpassing_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return TEST_FDPASSING (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * test_fdpassing_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # TestFDPassing * 707s # test_fdpassing_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return TEST_FDPASSING (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * test_fdpassing_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # test_fdpassing_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * test_fdpassing_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # TestFDPassing * 707s # test_fdpassing_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return TEST_FDPASSING (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * test_fdpassing_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # TestFDPassing * 707s # test_fdpassing_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return TEST_FDPASSING (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * TestFDPassingSkeleton: 707s # * 707s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * TestFDPassingSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #TestFDPassingSkeleton. 707s # */ 707s # 707s # struct _TestFDPassingSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _test_fdpassing_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _test_fdpassing_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _test_fdpassing_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 707s # { 707s # _test_fdpassing_skeleton_handle_method_call, 707s # _test_fdpassing_skeleton_handle_get_property, 707s # _test_fdpassing_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return test_fdpassing_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (TestFDPassingSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # test_fdpassing_skeleton_finalize (GObject *object) 707s # { 707s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * test_fdpassing_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 707s # * 707s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 707s # */ 707s # TestFDPassing * 707s # test_fdpassing_skeleton_new (void) 707s # { 707s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 707s # } 707s # Error: 707s ok 15 __main__.TestCodegen.test_generate_rst 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmp9wvkeuks 707s # /tmp/tmp9wvkeuks/tmpjz98wst8.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9wvkeuks/tmpjz98wst8.xml', '--generate-rst', 'test'] 707s # Return code: 0 707s # Output: 707s # 707s # Error: 707s ok 16 __main__.TestCodegen.test_generate_rst_method 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpnaag7119 707s # /tmp/tmpnaag7119/tmp67hkskjn.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnaag7119/tmp67hkskjn.xml', '--generate-rst', 'test'] 707s # Return code: 0 707s # Output: 707s # 707s # Error: 707s ok 17 __main__.TestCodegen.test_generate_rst_property 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpdi509d0d 707s # /tmp/tmpdi509d0d/tmpxdoyn70b.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdi509d0d/tmpxdoyn70b.xml', '--generate-rst', 'test'] 707s # Return code: 0 707s # Output: 707s # 707s # Error: 707s ok 18 __main__.TestCodegen.test_generate_rst_signal 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpkny1vgfl 707s # /tmp/tmpkny1vgfl/tmpeu18xukw.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkny1vgfl/tmpeu18xukw.xml', '--generate-rst', 'test'] 707s # Return code: 0 707s # Output: 707s # 707s # Error: 707s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpdrk548ry 707s # /tmp/tmpdrk548ry/tmpvhbir5ea.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdrk548ry/tmpvhbir5ea.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 707s # GClosure *closure, 707s # GValue *return_value G_GNUC_UNUSED, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 707s # (void *data1, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv, 707s # void *data2); 707s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # 707s # g_return_if_fail (n_param_values == 19); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # callback (data1, 707s # g_marshal_value_peek_boolean (param_values + 1), 707s # g_marshal_value_peek_uchar (param_values + 2), 707s # g_marshal_value_peek_int (param_values + 3), 707s # g_marshal_value_peek_uint (param_values + 4), 707s # g_marshal_value_peek_int (param_values + 5), 707s # g_marshal_value_peek_uint (param_values + 6), 707s # g_marshal_value_peek_int64 (param_values + 7), 707s # g_marshal_value_peek_uint64 (param_values + 8), 707s # g_marshal_value_peek_double (param_values + 9), 707s # g_marshal_value_peek_string (param_values + 10), 707s # g_marshal_value_peek_string (param_values + 11), 707s # g_marshal_value_peek_string (param_values + 12), 707s # g_marshal_value_peek_variant (param_values + 13), 707s # g_marshal_value_peek_string (param_values + 14), 707s # g_marshal_value_peek_boxed (param_values + 15), 707s # g_marshal_value_peek_boxed (param_values + 16), 707s # g_marshal_value_peek_boxed (param_values + 17), 707s # g_marshal_value_peek_variant (param_values + 18), 707s # data2); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.SignalingIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectSignalingIface 707s # * @title: OrgProjectSignalingIface 707s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 707s # */ 707s # 707s # enum 707s # { 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 707s # }; 707s # 707s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 707s # 707s # /* ---- Introspection data for org.project.SignalingIface ---- */ 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_b", 707s # (gchar *) "b", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_y", 707s # (gchar *) "y", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_n", 707s # (gchar *) "n", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_q", 707s # (gchar *) "q", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_i", 707s # (gchar *) "i", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_u", 707s # (gchar *) "u", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_x", 707s # (gchar *) "x", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_t", 707s # (gchar *) "t", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_d", 707s # (gchar *) "d", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_s", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_o", 707s # (gchar *) "o", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_g", 707s # (gchar *) "g", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_h", 707s # (gchar *) "h", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ay", 707s # (gchar *) "ay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_as", 707s # (gchar *) "as", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ao", 707s # (gchar *) "ao", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_aay", 707s # (gchar *) "aay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_asv", 707s # (gchar *) "a{sv}", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SignalWithManyArgs", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 707s # NULL 707s # }, 707s # "signal-with-many-args" 707s # }; 707s # 707s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.SignalingIface", 707s # NULL, 707s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-signaling-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_signaling_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_signaling_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectSignalingIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.SignalingIface. 707s # */ 707s # 707s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 707s # { 707s # /* GObject signals for received D-Bus signals: */ 707s # /** 707s # * OrgProjectSignalingIface::signal-with-many-args: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_b: Argument. 707s # * @arg_an_y: Argument. 707s # * @arg_an_n: Argument. 707s # * @arg_an_q: Argument. 707s # * @arg_an_i: Argument. 707s # * @arg_an_u: Argument. 707s # * @arg_an_x: Argument. 707s # * @arg_an_t: Argument. 707s # * @arg_an_d: Argument. 707s # * @arg_an_s: Argument. 707s # * @arg_an_o: Argument. 707s # * @arg_an_g: Argument. 707s # * @arg_an_h: Argument. 707s # * @arg_an_ay: Argument. 707s # * @arg_an_as: Argument. 707s # * @arg_an_ao: Argument. 707s # * @arg_an_aay: Argument. 707s # * @arg_an_asv: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 707s # g_signal_new ("signal-with-many-args", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 707s # G_TYPE_NONE, 707s # 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); 707s # 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_signal_with_many_args: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_b: Argument to pass with the signal. 707s # * @arg_an_y: Argument to pass with the signal. 707s # * @arg_an_n: Argument to pass with the signal. 707s # * @arg_an_q: Argument to pass with the signal. 707s # * @arg_an_i: Argument to pass with the signal. 707s # * @arg_an_u: Argument to pass with the signal. 707s # * @arg_an_x: Argument to pass with the signal. 707s # * @arg_an_t: Argument to pass with the signal. 707s # * @arg_an_d: Argument to pass with the signal. 707s # * @arg_an_s: Argument to pass with the signal. 707s # * @arg_an_o: Argument to pass with the signal. 707s # * @arg_an_g: Argument to pass with the signal. 707s # * @arg_an_h: Argument to pass with the signal. 707s # * @arg_an_ay: Argument to pass with the signal. 707s # * @arg_an_as: Argument to pass with the signal. 707s # * @arg_an_ao: Argument to pass with the signal. 707s # * @arg_an_aay: Argument to pass with the signal. 707s # * @arg_an_asv: Argument to pass with the signal. 707s # * 707s # * Emits the "SignalWithManyArgs" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_signal_with_many_args ( 707s # OrgProjectSignalingIface *object, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv) 707s # { 707s # 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); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceProxy: 707s # * 707s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectSignalingIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectSignalingIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_signaling_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_signaling_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_signaling_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceSkeleton: 707s # * 707s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectSignalingIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_signaling_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_signaling_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_signaling_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 707s # { 707s # _org_project_signaling_iface_skeleton_handle_method_call, 707s # _org_project_signaling_iface_skeleton_handle_get_property, 707s # _org_project_signaling_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_signaling_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 707s # OrgProjectSignalingIface *object, 707s # gboolean arg_an_b, 707s # guchar arg_an_y, 707s # gint16 arg_an_n, 707s # guint16 arg_an_q, 707s # gint arg_an_i, 707s # guint arg_an_u, 707s # gint64 arg_an_x, 707s # guint64 arg_an_t, 707s # gdouble arg_an_d, 707s # const gchar *arg_an_s, 707s # const gchar *arg_an_o, 707s # const gchar *arg_an_g, 707s # GVariant *arg_an_h, 707s # const gchar *arg_an_ay, 707s # const gchar *const *arg_an_as, 707s # const gchar *const *arg_an_ao, 707s # const gchar *const *arg_an_aay, 707s # GVariant *arg_an_asv) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 707s # arg_an_b, 707s # arg_an_y, 707s # arg_an_n, 707s # arg_an_q, 707s # arg_an_i, 707s # arg_an_u, 707s # arg_an_x, 707s # arg_an_t, 707s # arg_an_d, 707s # arg_an_s, 707s # arg_an_o, 707s # arg_an_g, 707s # arg_an_h, 707s # arg_an_ay, 707s # arg_an_as, 707s # arg_an_ao, 707s # arg_an_aay, 707s # arg_an_asv)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_signaling_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 707s # { 707s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpy67vv50m 707s # /tmp/tmpy67vv50m/tmpxb99hzs7.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy67vv50m/tmpxb99hzs7.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_VOID__INT64 ( 707s # GClosure *closure, 707s # GValue *return_value G_GNUC_UNUSED, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 707s # (void *data1, 707s # gint64 arg_an_x, 707s # void *data2); 707s # _GDbusCodegenMarshalVoid_Int64Func callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # callback (data1, 707s # g_marshal_value_peek_int64 (param_values + 1), 707s # data2); 707s # } 707s # 707s # static void 707s # _g_dbus_codegen_marshal_VOID__UINT64 ( 707s # GClosure *closure, 707s # GValue *return_value G_GNUC_UNUSED, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint G_GNUC_UNUSED, 707s # void *marshal_data) 707s # { 707s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 707s # (void *data1, 707s # guint64 arg_an_t, 707s # void *data2); 707s # _GDbusCodegenMarshalVoid_Uint64Func callback; 707s # GCClosure *cc = (GCClosure*) closure; 707s # void *data1, *data2; 707s # 707s # g_return_if_fail (n_param_values == 2); 707s # 707s # if (G_CCLOSURE_SWAP_DATA (closure)) 707s # { 707s # data1 = closure->data; 707s # data2 = g_value_peek_pointer (param_values + 0); 707s # } 707s # else 707s # { 707s # data1 = g_value_peek_pointer (param_values + 0); 707s # data2 = closure->data; 707s # } 707s # 707s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 707s # (marshal_data ? marshal_data : cc->callback); 707s # 707s # callback (data1, 707s # g_marshal_value_peek_uint64 (param_values + 1), 707s # data2); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.SignalingIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectSignalingIface 707s # * @title: OrgProjectSignalingIface 707s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 707s # */ 707s # 707s # enum 707s # { 707s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 707s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 707s # }; 707s # 707s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 707s # 707s # /* ---- Introspection data for org.project.SignalingIface ---- */ 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 707s # { 707s # { 707s # -1, 707s # (gchar *) "NoArgSignal", 707s # NULL, 707s # NULL 707s # }, 707s # "no-arg-signal" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_b", 707s # (gchar *) "b", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalB", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-b" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_y", 707s # (gchar *) "y", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalY", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-y" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_n", 707s # (gchar *) "n", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalN", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-n" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_q", 707s # (gchar *) "q", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalQ", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-q" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_i", 707s # (gchar *) "i", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalI", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-i" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_u", 707s # (gchar *) "u", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalU", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-u" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_x", 707s # (gchar *) "x", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalX", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-x" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_t", 707s # (gchar *) "t", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalT", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-t" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_d", 707s # (gchar *) "d", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalD", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-d" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_s", 707s # (gchar *) "s", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalS", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-s" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_o", 707s # (gchar *) "o", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalO", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-o" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_g", 707s # (gchar *) "g", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalG", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-g" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_h", 707s # (gchar *) "h", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalH", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-h" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ay", 707s # (gchar *) "ay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalAY", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-ay" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_as", 707s # (gchar *) "as", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalAS", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-as" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_ao", 707s # (gchar *) "ao", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalAO", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-ao" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_aay", 707s # (gchar *) "aay", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalAAY", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-aay" 707s # }; 707s # 707s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "an_asv", 707s # (gchar *) "a{sv}", 707s # NULL 707s # }, 707s # FALSE 707s # }; 707s # 707s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SingleArgSignalASV", 707s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 707s # NULL 707s # }, 707s # "single-arg-signal-asv" 707s # }; 707s # 707s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 707s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.SignalingIface", 707s # NULL, 707s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-signaling-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_signaling_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_signaling_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__VOID (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__BOOLEAN (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__UCHAR (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__INT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__UINT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__INT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__UINT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__DOUBLE (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__STRING (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__STRING (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__STRING (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__VARIANT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__STRING (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__BOXED (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__BOXED (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__BOXED (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__VARIANT (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectSignalingIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 707s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 707s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 707s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 707s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 707s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 707s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 707s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 707s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 707s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 707s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 707s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 707s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 707s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 707s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 707s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 707s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 707s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 707s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.SignalingIface. 707s # */ 707s # 707s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 707s # { 707s # /* GObject signals for received D-Bus signals: */ 707s # /** 707s # * OrgProjectSignalingIface::no-arg-signal: 707s # * @object: A #OrgProjectSignalingIface. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 707s # g_signal_new ("no-arg-signal", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_no_arg_signal, 707s # G_TYPE_NONE, 707s # 0); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-b: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_b: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 707s # g_signal_new ("single-arg-signal-b", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_BOOLEAN); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-y: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_y: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 707s # g_signal_new ("single-arg-signal-y", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_UCHAR); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-n: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_n: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 707s # g_signal_new ("single-arg-signal-n", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_INT); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-q: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_q: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 707s # g_signal_new ("single-arg-signal-q", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_UINT); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-i: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_i: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 707s # g_signal_new ("single-arg-signal-i", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_INT); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-u: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_u: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 707s # g_signal_new ("single-arg-signal-u", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_UINT); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-x: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_x: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 707s # g_signal_new ("single-arg-signal-x", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_INT64); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-t: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_t: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 707s # g_signal_new ("single-arg-signal-t", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_UINT64); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-d: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_d: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 707s # g_signal_new ("single-arg-signal-d", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_DOUBLE); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-s: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_s: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 707s # g_signal_new ("single-arg-signal-s", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_STRING); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-o: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_o: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 707s # g_signal_new ("single-arg-signal-o", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_STRING); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-g: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_g: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 707s # g_signal_new ("single-arg-signal-g", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_STRING); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-h: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_h: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 707s # g_signal_new ("single-arg-signal-h", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_VARIANT); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-ay: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_ay: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 707s # g_signal_new ("single-arg-signal-ay", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_STRING); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-as: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_as: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 707s # g_signal_new ("single-arg-signal-as", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_STRV); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-ao: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_ao: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 707s # g_signal_new ("single-arg-signal-ao", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_STRV); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-aay: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_aay: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 707s # g_signal_new ("single-arg-signal-aay", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_STRV); 707s # 707s # /** 707s # * OrgProjectSignalingIface::single-arg-signal-asv: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_asv: Argument. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 707s # g_signal_new ("single-arg-signal-asv", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 707s # G_TYPE_NONE, 707s # 1, G_TYPE_VARIANT); 707s # 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_no_arg_signal: 707s # * @object: A #OrgProjectSignalingIface. 707s # * 707s # * Emits the "NoArgSignal" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_no_arg_signal ( 707s # OrgProjectSignalingIface *object) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_b: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_b: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalB" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_b ( 707s # OrgProjectSignalingIface *object, 707s # gboolean arg_an_b) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_y: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_y: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalY" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_y ( 707s # OrgProjectSignalingIface *object, 707s # guchar arg_an_y) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_n: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_n: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalN" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_n ( 707s # OrgProjectSignalingIface *object, 707s # gint16 arg_an_n) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_q: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_q: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalQ" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_q ( 707s # OrgProjectSignalingIface *object, 707s # guint16 arg_an_q) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_i: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_i: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalI" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_i ( 707s # OrgProjectSignalingIface *object, 707s # gint arg_an_i) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_u: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_u: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalU" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_u ( 707s # OrgProjectSignalingIface *object, 707s # guint arg_an_u) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_x: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_x: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalX" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_x ( 707s # OrgProjectSignalingIface *object, 707s # gint64 arg_an_x) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_t: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_t: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalT" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_t ( 707s # OrgProjectSignalingIface *object, 707s # guint64 arg_an_t) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_d: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_d: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalD" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_d ( 707s # OrgProjectSignalingIface *object, 707s # gdouble arg_an_d) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_s: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_s: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalS" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_s ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_s) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_o: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_o: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalO" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_o ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_o) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_g: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_g: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalG" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_g ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_g) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_h: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_h: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalH" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_h ( 707s # OrgProjectSignalingIface *object, 707s # GVariant *arg_an_h) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_ay: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_ay: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalAY" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_ay ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_ay) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_as: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_as: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalAS" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_as ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *const *arg_an_as) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_ao: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_ao: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalAO" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_ao ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *const *arg_an_ao) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_aay: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_aay: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalAAY" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_aay ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *const *arg_an_aay) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_single_arg_signal_asv: 707s # * @object: A #OrgProjectSignalingIface. 707s # * @arg_an_asv: Argument to pass with the signal. 707s # * 707s # * Emits the "SingleArgSignalASV" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_single_arg_signal_asv ( 707s # OrgProjectSignalingIface *object, 707s # GVariant *arg_an_asv) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceProxy: 707s # * 707s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectSignalingIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectSignalingIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_signaling_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_signaling_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_signaling_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceSkeleton: 707s # * 707s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectSignalingIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_signaling_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_signaling_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_signaling_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 707s # { 707s # _org_project_signaling_iface_skeleton_handle_method_call, 707s # _org_project_signaling_iface_skeleton_handle_get_property, 707s # _org_project_signaling_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_signaling_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_no_arg_signal ( 707s # OrgProjectSignalingIface *object) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 707s # OrgProjectSignalingIface *object, 707s # gboolean arg_an_b) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 707s # arg_an_b)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 707s # OrgProjectSignalingIface *object, 707s # guchar arg_an_y) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 707s # arg_an_y)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 707s # OrgProjectSignalingIface *object, 707s # gint16 arg_an_n) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 707s # arg_an_n)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 707s # OrgProjectSignalingIface *object, 707s # guint16 arg_an_q) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 707s # arg_an_q)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 707s # OrgProjectSignalingIface *object, 707s # gint arg_an_i) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 707s # arg_an_i)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 707s # OrgProjectSignalingIface *object, 707s # guint arg_an_u) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 707s # arg_an_u)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 707s # OrgProjectSignalingIface *object, 707s # gint64 arg_an_x) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 707s # arg_an_x)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 707s # OrgProjectSignalingIface *object, 707s # guint64 arg_an_t) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 707s # arg_an_t)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 707s # OrgProjectSignalingIface *object, 707s # gdouble arg_an_d) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 707s # arg_an_d)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_s) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 707s # arg_an_s)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_o) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 707s # arg_an_o)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_g) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 707s # arg_an_g)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 707s # OrgProjectSignalingIface *object, 707s # GVariant *arg_an_h) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 707s # arg_an_h)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *arg_an_ay) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 707s # arg_an_ay)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *const *arg_an_as) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 707s # arg_an_as)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *const *arg_an_ao) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 707s # arg_an_ao)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 707s # OrgProjectSignalingIface *object, 707s # const gchar *const *arg_an_aay) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 707s # arg_an_aay)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 707s # OrgProjectSignalingIface *object, 707s # GVariant *arg_an_asv) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 707s # arg_an_asv)); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_signaling_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 707s # { 707s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 707s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 707s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 707s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 707s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 707s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 707s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 707s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 707s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 707s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 707s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 707s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 707s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 707s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 707s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 707s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 707s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 707s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 707s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpz6lbgw24 707s # /tmp/tmpz6lbgw24/tmp7u86o9ub.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz6lbgw24/tmp7u86o9ub.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.UsefulInterface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectUsefulInterface 707s # * @title: OrgProjectUsefulInterface 707s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 707s # */ 707s # 707s # enum 707s # { 707s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 707s # }; 707s # 707s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 707s # 707s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SimpleSignal", 707s # NULL, 707s # NULL 707s # }, 707s # "simple-signal" 707s # }; 707s # 707s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 707s # { 707s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.UsefulInterface", 707s # NULL, 707s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-useful-interface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_useful_interface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_useful_interface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_useful_interface_signal_marshal_simple_signal ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__VOID (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectUsefulInterface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 707s # */ 707s # 707s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # /* GObject signals for received D-Bus signals: */ 707s # /** 707s # * OrgProjectUsefulInterface::simple-signal: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 707s # g_signal_new ("simple-signal", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 707s # NULL, 707s # NULL, 707s # org_project_useful_interface_signal_marshal_simple_signal, 707s # G_TYPE_NONE, 707s # 0); 707s # 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_emit_simple_signal: 707s # * @object: A #OrgProjectUsefulInterface. 707s # * 707s # * Emits the "SimpleSignal" D-Bus signal. 707s # */ 707s # void 707s # org_project_useful_interface_emit_simple_signal ( 707s # OrgProjectUsefulInterface *object) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxy: 707s # * 707s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 707s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 707s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_useful_interface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # g_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); 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeleton: 707s # * 707s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectUsefulInterfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_useful_interface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_useful_interface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_useful_interface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 707s # { 707s # _org_project_useful_interface_skeleton_handle_method_call, 707s # _org_project_useful_interface_skeleton_handle_get_property, 707s # _org_project_useful_interface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_useful_interface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # _org_project_useful_interface_on_signal_simple_signal ( 707s # OrgProjectUsefulInterface *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_useful_interface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 707s # { 707s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 707s # } 707s # 707s # /** 707s # * org_project_useful_interface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectUsefulInterface * 707s # org_project_useful_interface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.OtherIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectOtherIface 707s # * @title: OrgProjectOtherIface 707s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 707s # */ 707s # 707s # enum 707s # { 707s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 707s # }; 707s # 707s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 707s # 707s # /* ---- Introspection data for org.project.OtherIface ---- */ 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SimpleSignal", 707s # NULL, 707s # NULL 707s # }, 707s # "simple-signal" 707s # }; 707s # 707s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 707s # { 707s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.OtherIface", 707s # NULL, 707s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-other-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_other_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_other_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_other_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_other_iface_signal_marshal_simple_signal ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__VOID (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectOtherIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.OtherIface. 707s # */ 707s # 707s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 707s # { 707s # /* GObject signals for received D-Bus signals: */ 707s # /** 707s # * OrgProjectOtherIface::simple-signal: 707s # * @object: A #OrgProjectOtherIface. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 707s # g_signal_new ("simple-signal", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 707s # NULL, 707s # NULL, 707s # org_project_other_iface_signal_marshal_simple_signal, 707s # G_TYPE_NONE, 707s # 0); 707s # 707s # } 707s # 707s # /** 707s # * org_project_other_iface_emit_simple_signal: 707s # * @object: A #OrgProjectOtherIface. 707s # * 707s # * Emits the "SimpleSignal" D-Bus signal. 707s # */ 707s # void 707s # org_project_other_iface_emit_simple_signal ( 707s # OrgProjectOtherIface *object) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectOtherIfaceProxy: 707s # * 707s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectOtherIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectOtherIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_other_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_other_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_other_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_other_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_other_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherIface * 707s # org_project_other_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherIface * 707s # org_project_other_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_other_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_other_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_other_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherIface * 707s # org_project_other_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherIface * 707s # org_project_other_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectOtherIfaceSkeleton: 707s # * 707s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectOtherIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectOtherIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_other_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_other_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_other_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 707s # { 707s # _org_project_other_iface_skeleton_handle_method_call, 707s # _org_project_other_iface_skeleton_handle_get_property, 707s # _org_project_other_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_other_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # _org_project_other_iface_on_signal_simple_signal ( 707s # OrgProjectOtherIface *object) 707s # { 707s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_other_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 707s # { 707s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 707s # } 707s # 707s # /** 707s # * org_project_other_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectOtherIface * 707s # org_project_other_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 707s # } 707s # Error: 707s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 707s # gdbus-codegen: /usr/bin/gdbus-codegen 707s # tmpdir: /tmp/tmpva2ppdh4 707s # /tmp/tmpva2ppdh4/tmp848l3ud8.xml: 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # 707s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpva2ppdh4/tmp848l3ud8.xml', '--output', '-', '--body'] 707s # Return code: 0 707s # Output: 707s # /* 707s # * This file is generated by gdbus-codegen, do not modify it. 707s # * 707s # * The license of this code is the same as for the D-Bus interface description 707s # * it was derived from. Note that it links to GLib, so must comply with the 707s # * LGPL linking clauses. 707s # */ 707s # 707s # #ifdef HAVE_CONFIG_H 707s # # include "config.h" 707s # #endif 707s # 707s # #include 707s # #ifdef G_OS_UNIX 707s # # include 707s # #endif 707s # 707s # #ifdef G_ENABLE_DEBUG 707s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 707s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 707s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 707s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 707s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 707s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 707s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 707s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 707s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 707s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 707s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 707s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 707s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 707s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 707s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 707s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 707s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 707s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 707s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 707s # #else /* !G_ENABLE_DEBUG */ 707s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 707s # * Do not access GValues directly in your code. Instead, use the 707s # * g_value_get_*() functions 707s # */ 707s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 707s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 707s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 707s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 707s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 707s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 707s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 707s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 707s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 707s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 707s # #endif /* !G_ENABLE_DEBUG */ 707s # 707s # typedef struct 707s # { 707s # GDBusArgInfo parent_struct; 707s # gboolean use_gvariant; 707s # } _ExtendedGDBusArgInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusMethodInfo parent_struct; 707s # const gchar *signal_name; 707s # gboolean pass_fdlist; 707s # } _ExtendedGDBusMethodInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusSignalInfo parent_struct; 707s # const gchar *signal_name; 707s # } _ExtendedGDBusSignalInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusPropertyInfo parent_struct; 707s # const gchar *hyphen_name; 707s # guint use_gvariant : 1; 707s # guint emits_changed_signal : 1; 707s # } _ExtendedGDBusPropertyInfo; 707s # 707s # typedef struct 707s # { 707s # GDBusInterfaceInfo parent_struct; 707s # const gchar *hyphen_name; 707s # } _ExtendedGDBusInterfaceInfo; 707s # 707s # typedef struct 707s # { 707s # const _ExtendedGDBusPropertyInfo *info; 707s # guint prop_id; 707s # GValue orig_value; /* the value before the change */ 707s # } ChangedProperty; 707s # 707s # static void 707s # _changed_property_free (ChangedProperty *data) 707s # { 707s # g_value_unset (&data->orig_value); 707s # g_free (data); 707s # } 707s # 707s # static gboolean 707s # _g_strv_equal0 (gchar **a, gchar **b) 707s # { 707s # gboolean ret = FALSE; 707s # guint n; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # if (g_strv_length (a) != g_strv_length (b)) 707s # goto out; 707s # for (n = 0; a[n] != NULL; n++) 707s # if (g_strcmp0 (a[n], b[n]) != 0) 707s # goto out; 707s # ret = TRUE; 707s # out: 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _g_variant_equal0 (GVariant *a, GVariant *b) 707s # { 707s # gboolean ret = FALSE; 707s # if (a == NULL && b == NULL) 707s # { 707s # ret = TRUE; 707s # goto out; 707s # } 707s # if (a == NULL || b == NULL) 707s # goto out; 707s # ret = g_variant_equal (a, b); 707s # out: 707s # return ret; 707s # } 707s # 707s # G_GNUC_UNUSED static gboolean 707s # _g_value_equal (const GValue *a, const GValue *b) 707s # { 707s # gboolean ret = FALSE; 707s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 707s # switch (G_VALUE_TYPE (a)) 707s # { 707s # case G_TYPE_BOOLEAN: 707s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 707s # break; 707s # case G_TYPE_UCHAR: 707s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 707s # break; 707s # case G_TYPE_INT: 707s # ret = (g_value_get_int (a) == g_value_get_int (b)); 707s # break; 707s # case G_TYPE_UINT: 707s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 707s # break; 707s # case G_TYPE_INT64: 707s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 707s # break; 707s # case G_TYPE_UINT64: 707s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 707s # break; 707s # case G_TYPE_DOUBLE: 707s # { 707s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 707s # gdouble da = g_value_get_double (a); 707s # gdouble db = g_value_get_double (b); 707s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 707s # } 707s # break; 707s # case G_TYPE_STRING: 707s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 707s # break; 707s # case G_TYPE_VARIANT: 707s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 707s # break; 707s # default: 707s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 707s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 707s # else 707s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 707s # break; 707s # } 707s # return ret; 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.SignalingIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectSignalingIface 707s # * @title: OrgProjectSignalingIface 707s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 707s # */ 707s # 707s # enum 707s # { 707s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 707s # }; 707s # 707s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 707s # 707s # /* ---- Introspection data for org.project.SignalingIface ---- */ 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SimpleSignal", 707s # NULL, 707s # NULL 707s # }, 707s # "simple-signal" 707s # }; 707s # 707s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 707s # { 707s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.SignalingIface", 707s # NULL, 707s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-signaling-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_signaling_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_signaling_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_signaling_iface_signal_marshal_simple_signal ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__VOID (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectSignalingIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.SignalingIface. 707s # */ 707s # 707s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 707s # { 707s # /* GObject signals for received D-Bus signals: */ 707s # /** 707s # * OrgProjectSignalingIface::simple-signal: 707s # * @object: A #OrgProjectSignalingIface. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 707s # g_signal_new ("simple-signal", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 707s # NULL, 707s # NULL, 707s # org_project_signaling_iface_signal_marshal_simple_signal, 707s # G_TYPE_NONE, 707s # 0); 707s # 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_emit_simple_signal: 707s # * @object: A #OrgProjectSignalingIface. 707s # * 707s # * Emits the "SimpleSignal" D-Bus signal. 707s # */ 707s # void 707s # org_project_signaling_iface_emit_simple_signal ( 707s # OrgProjectSignalingIface *object) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceProxy: 707s # * 707s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectSignalingIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectSignalingIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_signaling_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_signaling_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_signaling_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceSkeleton: 707s # * 707s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectSignalingIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectSignalingIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_signaling_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_signaling_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_signaling_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 707s # { 707s # _org_project_signaling_iface_skeleton_handle_method_call, 707s # _org_project_signaling_iface_skeleton_handle_get_property, 707s # _org_project_signaling_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_signaling_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # _org_project_signaling_iface_on_signal_simple_signal ( 707s # OrgProjectSignalingIface *object) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_signaling_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 707s # { 707s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 707s # } 707s # 707s # /** 707s # * org_project_signaling_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectSignalingIface * 707s # org_project_signaling_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ 707s # * Code for interface org.project.OtherSignalingIface 707s # * ------------------------------------------------------------------------ 707s # */ 707s # 707s # /** 707s # * SECTION:OrgProjectOtherSignalingIface 707s # * @title: OrgProjectOtherSignalingIface 707s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 707s # * 707s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 707s # */ 707s # 707s # enum 707s # { 707s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 707s # }; 707s # 707s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 707s # 707s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 707s # 707s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 707s # { 707s # { 707s # -1, 707s # (gchar *) "SimpleSignal", 707s # NULL, 707s # NULL 707s # }, 707s # "simple-signal" 707s # }; 707s # 707s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 707s # { 707s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 707s # NULL 707s # }; 707s # 707s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 707s # { 707s # { 707s # -1, 707s # (gchar *) "org.project.OtherSignalingIface", 707s # NULL, 707s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 707s # NULL, 707s # NULL 707s # }, 707s # "org-project-other-signaling-iface", 707s # }; 707s # 707s # 707s # /** 707s # * org_project_other_signaling_iface_interface_info: 707s # * 707s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 707s # * 707s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 707s # */ 707s # GDBusInterfaceInfo * 707s # org_project_other_signaling_iface_interface_info (void) 707s # { 707s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_override_properties: 707s # * @klass: The class structure for a #GObject derived class. 707s # * @property_id_begin: The property id to assign to the first overridden property. 707s # * 707s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 707s # * The properties are overridden in the order they are defined. 707s # * 707s # * Returns: The last property id. 707s # */ 707s # guint 707s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 707s # { 707s # return property_id_begin - 1; 707s # } 707s # 707s # 707s # inline static void 707s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 707s # GClosure *closure, 707s # GValue *return_value, 707s # unsigned int n_param_values, 707s # const GValue *param_values, 707s # void *invocation_hint, 707s # void *marshal_data) 707s # { 707s # g_cclosure_marshal_VOID__VOID (closure, 707s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 707s # } 707s # 707s # 707s # /** 707s # * OrgProjectOtherSignalingIface: 707s # * 707s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherSignalingIfaceIface: 707s # * @parent_iface: The parent interface. 707s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 707s # * 707s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 707s # */ 707s # 707s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 707s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 707s # 707s # static void 707s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 707s # { 707s # /* GObject signals for received D-Bus signals: */ 707s # /** 707s # * OrgProjectOtherSignalingIface::simple-signal: 707s # * @object: A #OrgProjectOtherSignalingIface. 707s # * 707s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 707s # * 707s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 707s # */ 707s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 707s # g_signal_new ("simple-signal", 707s # G_TYPE_FROM_INTERFACE (iface), 707s # G_SIGNAL_RUN_LAST, 707s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 707s # NULL, 707s # NULL, 707s # org_project_other_signaling_iface_signal_marshal_simple_signal, 707s # G_TYPE_NONE, 707s # 0); 707s # 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_emit_simple_signal: 707s # * @object: A #OrgProjectOtherSignalingIface. 707s # * 707s # * Emits the "SimpleSignal" D-Bus signal. 707s # */ 707s # void 707s # org_project_other_signaling_iface_emit_simple_signal ( 707s # OrgProjectOtherSignalingIface *object) 707s # { 707s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 707s # } 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectOtherSignalingIfaceProxy: 707s # * 707s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherSignalingIfaceProxyClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 707s # */ 707s # 707s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 707s # { 707s # GData *qdata; 707s # }; 707s # 707s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 707s # { 707s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 707s # g_datalist_clear (&proxy->priv->qdata); 707s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 707s # guint prop_id G_GNUC_UNUSED, 707s # const GValue *value G_GNUC_UNUSED, 707s # GParamSpec *pspec G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 707s # const gchar *sender_name G_GNUC_UNUSED, 707s # const gchar *signal_name, 707s # GVariant *parameters) 707s # { 707s # _ExtendedGDBusSignalInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # gsize n; 707s # guint signal_id; 707s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 707s # if (info == NULL) 707s # return; 707s # num_params = g_variant_n_children (parameters); 707s # paramv = g_new0 (GValue, num_params + 1); 707s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[0], proxy); 707s # g_variant_iter_init (&iter, parameters); 707s # n = 1; 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 707s # g_signal_emitv (paramv, signal_id, 0, NULL); 707s # for (n = 0; n < num_params + 1; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 707s # GVariant *changed_properties, 707s # const gchar *const *invalidated_properties) 707s # { 707s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 707s # guint n; 707s # const gchar *key; 707s # GVariantIter *iter; 707s # _ExtendedGDBusPropertyInfo *info; 707s # g_variant_get (changed_properties, "a{sv}", &iter); 707s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 707s # g_datalist_remove_data (&proxy->priv->qdata, key); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # g_variant_iter_free (iter); 707s # for (n = 0; invalidated_properties[n] != NULL; n++) 707s # { 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 707s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 707s # if (info != NULL) 707s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 707s # } 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 707s # #else 707s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 707s # #endif 707s # 707s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusProxyClass *proxy_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 707s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 707s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 707s # 707s # proxy_class = G_DBUS_PROXY_CLASS (klass); 707s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 707s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_proxy_new: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 707s # * 707s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_other_signaling_iface_proxy_new ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_proxy_new_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherSignalingIface * 707s # org_project_other_signaling_iface_proxy_new_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_proxy_new_sync: 707s # * @connection: A #GDBusConnection. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherSignalingIface * 707s # org_project_other_signaling_iface_proxy_new_sync ( 707s # GDBusConnection *connection, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /** 707s # * org_project_other_signaling_iface_proxy_new_for_bus: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 707s # * @user_data: User data to pass to @callback. 707s # * 707s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 707s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 707s # * 707s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 707s # */ 707s # void 707s # org_project_other_signaling_iface_proxy_new_for_bus ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GAsyncReadyCallback callback, 707s # gpointer user_data) 707s # { 707s # 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); 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 707s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 707s # * @error: Return location for error or %NULL 707s # * 707s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherSignalingIface * 707s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 707s # GAsyncResult *res, 707s # GError **error) 707s # { 707s # GObject *ret; 707s # GObject *source_object; 707s # source_object = g_async_result_get_source_object (res); 707s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 707s # g_object_unref (source_object); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 707s # * @bus_type: A #GBusType. 707s # * @flags: Flags from the #GDBusProxyFlags enumeration. 707s # * @name: A bus name (well-known or unique). 707s # * @object_path: An object path. 707s # * @cancellable: (nullable): A #GCancellable or %NULL. 707s # * @error: Return location for error or %NULL 707s # * 707s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 707s # * 707s # * The calling thread is blocked until a reply is received. 707s # * 707s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 707s # */ 707s # OrgProjectOtherSignalingIface * 707s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 707s # GBusType bus_type, 707s # GDBusProxyFlags flags, 707s # const gchar *name, 707s # const gchar *object_path, 707s # GCancellable *cancellable, 707s # GError **error) 707s # { 707s # GInitable *ret; 707s # 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); 707s # if (ret != NULL) 707s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 707s # else 707s # return NULL; 707s # } 707s # 707s # 707s # /* ------------------------------------------------------------------------ */ 707s # 707s # /** 707s # * OrgProjectOtherSignalingIfaceSkeleton: 707s # * 707s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 707s # */ 707s # 707s # /** 707s # * OrgProjectOtherSignalingIfaceSkeletonClass: 707s # * @parent_class: The parent class. 707s # * 707s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 707s # */ 707s # 707s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 707s # { 707s # GValue *properties; 707s # GList *changed_properties; 707s # GSource *changed_properties_idle_source; 707s # GMainContext *context; 707s # GMutex lock; 707s # }; 707s # 707s # static void 707s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name, 707s # const gchar *method_name, 707s # GVariant *parameters, 707s # GDBusMethodInvocation *invocation, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 707s # _ExtendedGDBusMethodInfo *info; 707s # GVariantIter iter; 707s # GVariant *child; 707s # GValue *paramv; 707s # gsize num_params; 707s # guint num_extra; 707s # gsize n; 707s # guint signal_id; 707s # GValue return_value = G_VALUE_INIT; 707s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 707s # g_assert (info != NULL); 707s # num_params = g_variant_n_children (parameters); 707s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 707s # n = 0; 707s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 707s # g_value_set_object (¶mv[n++], skeleton); 707s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 707s # g_value_set_object (¶mv[n++], invocation); 707s # if (info->pass_fdlist) 707s # { 707s # #ifdef G_OS_UNIX 707s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 707s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 707s # #else 707s # g_assert_not_reached (); 707s # #endif 707s # } 707s # g_variant_iter_init (&iter, parameters); 707s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 707s # { 707s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 707s # if (arg_info->use_gvariant) 707s # { 707s # g_value_init (¶mv[n], G_TYPE_VARIANT); 707s # g_value_set_variant (¶mv[n], child); 707s # n++; 707s # } 707s # else 707s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 707s # g_variant_unref (child); 707s # } 707s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 707s # g_value_init (&return_value, G_TYPE_BOOLEAN); 707s # g_signal_emitv (paramv, signal_id, 0, &return_value); 707s # if (!g_value_get_boolean (&return_value)) 707s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 707s # g_value_unset (&return_value); 707s # for (n = 0; n < num_params + num_extra; n++) 707s # g_value_unset (¶mv[n]); 707s # g_free (paramv); 707s # } 707s # 707s # static GVariant * 707s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # GVariant *ret; 707s # ret = NULL; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # g_value_init (&value, pspec->value_type); 707s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 707s # g_value_unset (&value); 707s # } 707s # return ret; 707s # } 707s # 707s # static gboolean 707s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 707s # GDBusConnection *connection G_GNUC_UNUSED, 707s # const gchar *sender G_GNUC_UNUSED, 707s # const gchar *object_path G_GNUC_UNUSED, 707s # const gchar *interface_name G_GNUC_UNUSED, 707s # const gchar *property_name, 707s # GVariant *variant, 707s # GError **error, 707s # gpointer user_data) 707s # { 707s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 707s # GValue value = G_VALUE_INIT; 707s # GParamSpec *pspec; 707s # _ExtendedGDBusPropertyInfo *info; 707s # gboolean ret; 707s # ret = FALSE; 707s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 707s # g_assert (info != NULL); 707s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 707s # if (pspec == NULL) 707s # { 707s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 707s # } 707s # else 707s # { 707s # if (info->use_gvariant) 707s # g_value_set_variant (&value, variant); 707s # else 707s # g_dbus_gvariant_to_gvalue (variant, &value); 707s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 707s # g_value_unset (&value); 707s # ret = TRUE; 707s # } 707s # return ret; 707s # } 707s # 707s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 707s # { 707s # _org_project_other_signaling_iface_skeleton_handle_method_call, 707s # _org_project_other_signaling_iface_skeleton_handle_get_property, 707s # _org_project_other_signaling_iface_skeleton_handle_set_property, 707s # {NULL} 707s # }; 707s # 707s # static GDBusInterfaceInfo * 707s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return org_project_other_signaling_iface_interface_info (); 707s # } 707s # 707s # static GDBusInterfaceVTable * 707s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 707s # { 707s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 707s # } 707s # 707s # static GVariant * 707s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 707s # { 707s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 707s # 707s # GVariantBuilder builder; 707s # guint n; 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 707s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #else 707s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 707s # #endif 707s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 707s # goto out; 707s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 707s # { 707s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 707s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 707s # { 707s # GVariant *value; 707s # 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); 707s # if (value != NULL) 707s # { 707s # g_variant_take_ref (value); 707s # g_variant_builder_add (&builder, "{sv}", info->name, value); 707s # g_variant_unref (value); 707s # } 707s # } 707s # } 707s # out: 707s # return g_variant_builder_end (&builder); 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 707s # { 707s # } 707s # 707s # static void 707s # _org_project_other_signaling_iface_on_signal_simple_signal ( 707s # OrgProjectOtherSignalingIface *object) 707s # { 707s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 707s # 707s # GList *connections, *l; 707s # GVariant *signal_variant; 707s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 707s # 707s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 707s # for (l = connections; l != NULL; l = l->next) 707s # { 707s # GDBusConnection *connection = l->data; 707s # g_dbus_connection_emit_signal (connection, 707s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 707s # signal_variant, NULL); 707s # } 707s # g_variant_unref (signal_variant); 707s # g_list_free_full (connections, g_object_unref); 707s # } 707s # 707s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 707s # 707s # #else 707s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 707s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 707s # 707s # #endif 707s # static void 707s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 707s # { 707s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 707s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 707s # if (skeleton->priv->changed_properties_idle_source != NULL) 707s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 707s # g_main_context_unref (skeleton->priv->context); 707s # g_mutex_clear (&skeleton->priv->lock); 707s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 707s # { 707s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 707s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 707s # #else 707s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 707s # #endif 707s # 707s # g_mutex_init (&skeleton->priv->lock); 707s # skeleton->priv->context = g_main_context_ref_thread_default (); 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 707s # { 707s # GObjectClass *gobject_class; 707s # GDBusInterfaceSkeletonClass *skeleton_class; 707s # 707s # gobject_class = G_OBJECT_CLASS (klass); 707s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 707s # 707s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 707s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 707s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 707s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 707s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 707s # 707s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 707s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 707s # #endif 707s # } 707s # 707s # static void 707s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 707s # { 707s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 707s # } 707s # 707s # /** 707s # * org_project_other_signaling_iface_skeleton_new: 707s # * 707s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 707s # * 707s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 707s # */ 707s # OrgProjectOtherSignalingIface * 707s # org_project_other_signaling_iface_skeleton_new (void) 707s # { 707s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 707s # } 707s # Error: 708s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpgdi8dqj0 708s # /tmp/tmpgdi8dqj0/tmphdl8uwip.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmphdl8uwip.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_b", 708s # (gchar *) "b", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalB", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-b" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__BOOLEAN (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-b: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_b: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 708s # g_signal_new ("single-arg-signal-b", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_BOOLEAN); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_b: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_b: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalB" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_b ( 708s # OrgProjectSignalingIface *object, 708s # gboolean arg_arg_b) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 708s # OrgProjectSignalingIface *object, 708s # gboolean arg_arg_b) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 708s # arg_arg_b)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmp1_q84u2k.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmp1_q84u2k.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_y", 708s # (gchar *) "y", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalY", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-y" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__UCHAR (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-y: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_y: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 708s # g_signal_new ("single-arg-signal-y", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_UCHAR); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_y: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_y: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalY" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_y ( 708s # OrgProjectSignalingIface *object, 708s # guchar arg_arg_y) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 708s # OrgProjectSignalingIface *object, 708s # guchar arg_arg_y) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 708s # arg_arg_y)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpt1pr728d.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpt1pr728d.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_n", 708s # (gchar *) "n", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalN", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-n" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__INT (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-n: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_n: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 708s # g_signal_new ("single-arg-signal-n", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_INT); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_n: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_n: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalN" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_n ( 708s # OrgProjectSignalingIface *object, 708s # gint16 arg_arg_n) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 708s # OrgProjectSignalingIface *object, 708s # gint16 arg_arg_n) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 708s # arg_arg_n)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmputj8_lkc.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmputj8_lkc.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_q", 708s # (gchar *) "q", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalQ", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-q" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__UINT (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-q: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_q: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 708s # g_signal_new ("single-arg-signal-q", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_UINT); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_q: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_q: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalQ" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_q ( 708s # OrgProjectSignalingIface *object, 708s # guint16 arg_arg_q) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 708s # OrgProjectSignalingIface *object, 708s # guint16 arg_arg_q) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 708s # arg_arg_q)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpsri7herw.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpsri7herw.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_i", 708s # (gchar *) "i", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalI", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-i" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__INT (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-i: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_i: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 708s # g_signal_new ("single-arg-signal-i", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_INT); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_i: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_i: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalI" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_i ( 708s # OrgProjectSignalingIface *object, 708s # gint arg_arg_i) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 708s # OrgProjectSignalingIface *object, 708s # gint arg_arg_i) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 708s # arg_arg_i)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpg9ewajky.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpg9ewajky.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_u", 708s # (gchar *) "u", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalU", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-u" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__UINT (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-u: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_u: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 708s # g_signal_new ("single-arg-signal-u", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_UINT); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_u: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_u: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalU" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_u ( 708s # OrgProjectSignalingIface *object, 708s # guint arg_arg_u) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 708s # OrgProjectSignalingIface *object, 708s # guint arg_arg_u) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 708s # arg_arg_u)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmp7nc95nay.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmp7nc95nay.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # static void 708s # _g_dbus_codegen_marshal_VOID__INT64 ( 708s # GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint G_GNUC_UNUSED, 708s # void *marshal_data) 708s # { 708s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 708s # (void *data1, 708s # gint64 arg_arg_x, 708s # void *data2); 708s # _GDbusCodegenMarshalVoid_Int64Func callback; 708s # GCClosure *cc = (GCClosure*) closure; 708s # void *data1, *data2; 708s # 708s # g_return_if_fail (n_param_values == 2); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # 708s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 708s # (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_int64 (param_values + 1), 708s # data2); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_x", 708s # (gchar *) "x", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalX", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-x" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-x: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_x: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 708s # g_signal_new ("single-arg-signal-x", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_INT64); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_x: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_x: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalX" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_x ( 708s # OrgProjectSignalingIface *object, 708s # gint64 arg_arg_x) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 708s # OrgProjectSignalingIface *object, 708s # gint64 arg_arg_x) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 708s # arg_arg_x)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmp3zcio3x1.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmp3zcio3x1.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # static void 708s # _g_dbus_codegen_marshal_VOID__UINT64 ( 708s # GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint G_GNUC_UNUSED, 708s # void *marshal_data) 708s # { 708s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 708s # (void *data1, 708s # guint64 arg_arg_t, 708s # void *data2); 708s # _GDbusCodegenMarshalVoid_Uint64Func callback; 708s # GCClosure *cc = (GCClosure*) closure; 708s # void *data1, *data2; 708s # 708s # g_return_if_fail (n_param_values == 2); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # 708s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 708s # (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_uint64 (param_values + 1), 708s # data2); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_t", 708s # (gchar *) "t", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalT", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-t" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-t: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_t: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 708s # g_signal_new ("single-arg-signal-t", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_UINT64); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_t: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_t: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalT" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_t ( 708s # OrgProjectSignalingIface *object, 708s # guint64 arg_arg_t) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 708s # OrgProjectSignalingIface *object, 708s # guint64 arg_arg_t) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 708s # arg_arg_t)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmprgs0h7_i.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmprgs0h7_i.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_d", 708s # (gchar *) "d", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalD", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-d" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__DOUBLE (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-d: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_d: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 708s # g_signal_new ("single-arg-signal-d", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_DOUBLE); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_d: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_d: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalD" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_d ( 708s # OrgProjectSignalingIface *object, 708s # gdouble arg_arg_d) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 708s # OrgProjectSignalingIface *object, 708s # gdouble arg_arg_d) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 708s # arg_arg_d)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmps8u43w4p.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmps8u43w4p.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_s", 708s # (gchar *) "s", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalS", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-s" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__STRING (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-s: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_s: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 708s # g_signal_new ("single-arg-signal-s", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_STRING); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_s: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_s: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalS" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_s ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_s) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_s) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 708s # arg_arg_s)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmplmzh1jp2.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmplmzh1jp2.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_o", 708s # (gchar *) "o", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalO", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-o" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__STRING (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-o: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_o: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 708s # g_signal_new ("single-arg-signal-o", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_STRING); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_o: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_o: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalO" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_o ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_o) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_o) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 708s # arg_arg_o)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpkude1m_1.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpkude1m_1.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_g", 708s # (gchar *) "g", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalG", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-g" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__STRING (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-g: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_g: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 708s # g_signal_new ("single-arg-signal-g", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_STRING); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_g: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_g: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalG" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_g ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_g) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_g) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 708s # arg_arg_g)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmphm1n4hh7.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmphm1n4hh7.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_h", 708s # (gchar *) "h", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalH", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-h" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VARIANT (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-h: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_h: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 708s # g_signal_new ("single-arg-signal-h", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_VARIANT); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_h: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_h: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalH" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_h ( 708s # OrgProjectSignalingIface *object, 708s # GVariant *arg_arg_h) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 708s # OrgProjectSignalingIface *object, 708s # GVariant *arg_arg_h) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 708s # arg_arg_h)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpdawlncjq.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpdawlncjq.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_ay", 708s # (gchar *) "ay", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalAy", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-ay" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__STRING (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-ay: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_ay: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 708s # g_signal_new ("single-arg-signal-ay", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_STRING); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_ay: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_ay: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalAy" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_ay ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_ay) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *arg_arg_ay) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 708s # arg_arg_ay)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpk32av7jy.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpk32av7jy.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_as", 708s # (gchar *) "as", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalAs", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-as" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__BOXED (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-as: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_as: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 708s # g_signal_new ("single-arg-signal-as", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_STRV); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_as: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_as: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalAs" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_as ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *const *arg_arg_as) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *const *arg_arg_as) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 708s # arg_arg_as)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpex8v7xzu.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpex8v7xzu.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_ao", 708s # (gchar *) "ao", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalAo", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-ao" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__BOXED (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-ao: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_ao: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 708s # g_signal_new ("single-arg-signal-ao", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_STRV); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_ao: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_ao: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalAo" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_ao ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *const *arg_arg_ao) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *const *arg_arg_ao) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 708s # arg_arg_ao)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmpdlwqhdu6.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmpdlwqhdu6.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_aay", 708s # (gchar *) "aay", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalAay", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-aay" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__BOXED (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-aay: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_aay: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 708s # g_signal_new ("single-arg-signal-aay", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_STRV); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_aay: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_aay: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalAay" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_aay ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *const *arg_arg_aay) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 708s # OrgProjectSignalingIface *object, 708s # const gchar *const *arg_arg_aay) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 708s # arg_arg_aay)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s # 708s # /tmp/tmpgdi8dqj0/tmph5wp6dt5.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgdi8dqj0/tmph5wp6dt5.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 708s # { 708s # { 708s # -1, 708s # (gchar *) "arg_asv", 708s # (gchar *) "a{sv}", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SingleArgSignalAsv", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 708s # NULL 708s # }, 708s # "single-arg-signal-asv" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VARIANT (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::single-arg-signal-asv: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_asv: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 708s # g_signal_new ("single-arg-signal-asv", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 708s # G_TYPE_NONE, 708s # 1, G_TYPE_VARIANT); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_single_arg_signal_asv: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_arg_asv: Argument to pass with the signal. 708s # * 708s # * Emits the "SingleArgSignalAsv" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_single_arg_signal_asv ( 708s # OrgProjectSignalingIface *object, 708s # GVariant *arg_arg_asv) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 708s # OrgProjectSignalingIface *object, 708s # GVariant *arg_arg_asv) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 708s # arg_arg_asv)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmp2iw20o_s 708s # /tmp/tmp2iw20o_s/tmp298e5dx4.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2iw20o_s/tmp298e5dx4.xml', '--output', '-', '--body'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifdef HAVE_CONFIG_H 708s # # include "config.h" 708s # #endif 708s # 708s # #include 708s # #ifdef G_OS_UNIX 708s # # include 708s # #endif 708s # 708s # #ifdef G_ENABLE_DEBUG 708s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 708s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 708s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 708s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 708s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 708s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 708s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 708s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 708s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 708s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 708s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 708s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 708s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 708s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 708s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 708s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 708s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 708s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 708s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 708s # #else /* !G_ENABLE_DEBUG */ 708s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 708s # * Do not access GValues directly in your code. Instead, use the 708s # * g_value_get_*() functions 708s # */ 708s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 708s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 708s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 708s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 708s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 708s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 708s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 708s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 708s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 708s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 708s # #endif /* !G_ENABLE_DEBUG */ 708s # 708s # typedef struct 708s # { 708s # GDBusArgInfo parent_struct; 708s # gboolean use_gvariant; 708s # } _ExtendedGDBusArgInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusMethodInfo parent_struct; 708s # const gchar *signal_name; 708s # gboolean pass_fdlist; 708s # } _ExtendedGDBusMethodInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusSignalInfo parent_struct; 708s # const gchar *signal_name; 708s # } _ExtendedGDBusSignalInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusPropertyInfo parent_struct; 708s # const gchar *hyphen_name; 708s # guint use_gvariant : 1; 708s # guint emits_changed_signal : 1; 708s # } _ExtendedGDBusPropertyInfo; 708s # 708s # typedef struct 708s # { 708s # GDBusInterfaceInfo parent_struct; 708s # const gchar *hyphen_name; 708s # } _ExtendedGDBusInterfaceInfo; 708s # 708s # typedef struct 708s # { 708s # const _ExtendedGDBusPropertyInfo *info; 708s # guint prop_id; 708s # GValue orig_value; /* the value before the change */ 708s # } ChangedProperty; 708s # 708s # static void 708s # _changed_property_free (ChangedProperty *data) 708s # { 708s # g_value_unset (&data->orig_value); 708s # g_free (data); 708s # } 708s # 708s # static gboolean 708s # _g_strv_equal0 (gchar **a, gchar **b) 708s # { 708s # gboolean ret = FALSE; 708s # guint n; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # if (g_strv_length (a) != g_strv_length (b)) 708s # goto out; 708s # for (n = 0; a[n] != NULL; n++) 708s # if (g_strcmp0 (a[n], b[n]) != 0) 708s # goto out; 708s # ret = TRUE; 708s # out: 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _g_variant_equal0 (GVariant *a, GVariant *b) 708s # { 708s # gboolean ret = FALSE; 708s # if (a == NULL && b == NULL) 708s # { 708s # ret = TRUE; 708s # goto out; 708s # } 708s # if (a == NULL || b == NULL) 708s # goto out; 708s # ret = g_variant_equal (a, b); 708s # out: 708s # return ret; 708s # } 708s # 708s # G_GNUC_UNUSED static gboolean 708s # _g_value_equal (const GValue *a, const GValue *b) 708s # { 708s # gboolean ret = FALSE; 708s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 708s # switch (G_VALUE_TYPE (a)) 708s # { 708s # case G_TYPE_BOOLEAN: 708s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 708s # break; 708s # case G_TYPE_UCHAR: 708s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 708s # break; 708s # case G_TYPE_INT: 708s # ret = (g_value_get_int (a) == g_value_get_int (b)); 708s # break; 708s # case G_TYPE_UINT: 708s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 708s # break; 708s # case G_TYPE_INT64: 708s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 708s # break; 708s # case G_TYPE_UINT64: 708s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 708s # break; 708s # case G_TYPE_DOUBLE: 708s # { 708s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 708s # gdouble da = g_value_get_double (a); 708s # gdouble db = g_value_get_double (b); 708s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 708s # } 708s # break; 708s # case G_TYPE_STRING: 708s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 708s # break; 708s # case G_TYPE_VARIANT: 708s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 708s # break; 708s # default: 708s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 708s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 708s # else 708s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 708s # break; 708s # } 708s # return ret; 708s # } 708s # 708s # static void 708s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 708s # GClosure *closure, 708s # GValue *return_value G_GNUC_UNUSED, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint G_GNUC_UNUSED, 708s # void *marshal_data) 708s # { 708s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 708s # (void *data1, 708s # gboolean arg_an_b, 708s # guchar arg_an_y, 708s # gint16 arg_an_n, 708s # guint16 arg_an_q, 708s # gint arg_an_i, 708s # guint arg_an_u, 708s # gint64 arg_an_x, 708s # guint64 arg_an_t, 708s # gdouble arg_an_d, 708s # const gchar *arg_an_s, 708s # const gchar *arg_an_o, 708s # const gchar *arg_an_g, 708s # GVariant *arg_an_h, 708s # const gchar *arg_an_ay, 708s # const gchar *const *arg_an_as, 708s # const gchar *const *arg_an_ao, 708s # const gchar *const *arg_an_aay, 708s # GVariant *arg_an_asv, 708s # void *data2); 708s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 708s # GCClosure *cc = (GCClosure*) closure; 708s # void *data1, *data2; 708s # 708s # g_return_if_fail (n_param_values == 19); 708s # 708s # if (G_CCLOSURE_SWAP_DATA (closure)) 708s # { 708s # data1 = closure->data; 708s # data2 = g_value_peek_pointer (param_values + 0); 708s # } 708s # else 708s # { 708s # data1 = g_value_peek_pointer (param_values + 0); 708s # data2 = closure->data; 708s # } 708s # 708s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 708s # (marshal_data ? marshal_data : cc->callback); 708s # 708s # callback (data1, 708s # g_marshal_value_peek_boolean (param_values + 1), 708s # g_marshal_value_peek_uchar (param_values + 2), 708s # g_marshal_value_peek_int (param_values + 3), 708s # g_marshal_value_peek_uint (param_values + 4), 708s # g_marshal_value_peek_int (param_values + 5), 708s # g_marshal_value_peek_uint (param_values + 6), 708s # g_marshal_value_peek_int64 (param_values + 7), 708s # g_marshal_value_peek_uint64 (param_values + 8), 708s # g_marshal_value_peek_double (param_values + 9), 708s # g_marshal_value_peek_string (param_values + 10), 708s # g_marshal_value_peek_string (param_values + 11), 708s # g_marshal_value_peek_string (param_values + 12), 708s # g_marshal_value_peek_variant (param_values + 13), 708s # g_marshal_value_peek_string (param_values + 14), 708s # g_marshal_value_peek_boxed (param_values + 15), 708s # g_marshal_value_peek_boxed (param_values + 16), 708s # g_marshal_value_peek_boxed (param_values + 17), 708s # g_marshal_value_peek_variant (param_values + 18), 708s # data2); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ 708s # * Code for interface org.project.SignalingIface 708s # * ------------------------------------------------------------------------ 708s # */ 708s # 708s # /** 708s # * SECTION:OrgProjectSignalingIface 708s # * @title: OrgProjectSignalingIface 708s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 708s # * 708s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 708s # */ 708s # 708s # enum 708s # { 708s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 708s # }; 708s # 708s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 708s # 708s # /* ---- Introspection data for org.project.SignalingIface ---- */ 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SimpleSignal", 708s # NULL, 708s # NULL 708s # }, 708s # "simple-signal" 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_b", 708s # (gchar *) "b", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_y", 708s # (gchar *) "y", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_n", 708s # (gchar *) "n", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_q", 708s # (gchar *) "q", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_i", 708s # (gchar *) "i", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_u", 708s # (gchar *) "u", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_x", 708s # (gchar *) "x", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_t", 708s # (gchar *) "t", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_d", 708s # (gchar *) "d", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_s", 708s # (gchar *) "s", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_o", 708s # (gchar *) "o", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_g", 708s # (gchar *) "g", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_h", 708s # (gchar *) "h", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_ay", 708s # (gchar *) "ay", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_as", 708s # (gchar *) "as", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_ao", 708s # (gchar *) "ao", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_aay", 708s # (gchar *) "aay", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 708s # { 708s # { 708s # -1, 708s # (gchar *) "an_asv", 708s # (gchar *) "a{sv}", 708s # NULL 708s # }, 708s # FALSE 708s # }; 708s # 708s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 708s # { 708s # { 708s # -1, 708s # (gchar *) "SignalWithManyArgs", 708s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 708s # NULL 708s # }, 708s # "signal-with-many-args" 708s # }; 708s # 708s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 708s # { 708s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 708s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 708s # NULL 708s # }; 708s # 708s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 708s # { 708s # { 708s # -1, 708s # (gchar *) "org.project.SignalingIface", 708s # NULL, 708s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 708s # NULL, 708s # NULL 708s # }, 708s # "org-project-signaling-iface", 708s # }; 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_interface_info: 708s # * 708s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 708s # * 708s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 708s # */ 708s # GDBusInterfaceInfo * 708s # org_project_signaling_iface_interface_info (void) 708s # { 708s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_override_properties: 708s # * @klass: The class structure for a #GObject derived class. 708s # * @property_id_begin: The property id to assign to the first overridden property. 708s # * 708s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 708s # * The properties are overridden in the order they are defined. 708s # * 708s # * Returns: The last property id. 708s # */ 708s # guint 708s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 708s # { 708s # return property_id_begin - 1; 708s # } 708s # 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_simple_signal ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # g_cclosure_marshal_VOID__VOID (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # inline static void 708s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 708s # GClosure *closure, 708s # GValue *return_value, 708s # unsigned int n_param_values, 708s # const GValue *param_values, 708s # void *invocation_hint, 708s # void *marshal_data) 708s # { 708s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 708s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 708s # } 708s # 708s # 708s # /** 708s # * OrgProjectSignalingIface: 708s # * 708s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceIface: 708s # * @parent_iface: The parent interface. 708s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 708s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 708s # * 708s # * Virtual table for the D-Bus interface org.project.SignalingIface. 708s # */ 708s # 708s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 708s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 708s # 708s # static void 708s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # /* GObject signals for received D-Bus signals: */ 708s # /** 708s # * OrgProjectSignalingIface::simple-signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 708s # g_signal_new ("simple-signal", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_simple_signal, 708s # G_TYPE_NONE, 708s # 0); 708s # 708s # /** 708s # * OrgProjectSignalingIface::signal-with-many-args: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_an_b: Argument. 708s # * @arg_an_y: Argument. 708s # * @arg_an_n: Argument. 708s # * @arg_an_q: Argument. 708s # * @arg_an_i: Argument. 708s # * @arg_an_u: Argument. 708s # * @arg_an_x: Argument. 708s # * @arg_an_t: Argument. 708s # * @arg_an_d: Argument. 708s # * @arg_an_s: Argument. 708s # * @arg_an_o: Argument. 708s # * @arg_an_g: Argument. 708s # * @arg_an_h: Argument. 708s # * @arg_an_ay: Argument. 708s # * @arg_an_as: Argument. 708s # * @arg_an_ao: Argument. 708s # * @arg_an_aay: Argument. 708s # * @arg_an_asv: Argument. 708s # * 708s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 708s # * 708s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 708s # */ 708s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 708s # g_signal_new ("signal-with-many-args", 708s # G_TYPE_FROM_INTERFACE (iface), 708s # G_SIGNAL_RUN_LAST, 708s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 708s # NULL, 708s # NULL, 708s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 708s # G_TYPE_NONE, 708s # 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); 708s # 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_simple_signal: 708s # * @object: A #OrgProjectSignalingIface. 708s # * 708s # * Emits the "SimpleSignal" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_emit_signal_with_many_args: 708s # * @object: A #OrgProjectSignalingIface. 708s # * @arg_an_b: Argument to pass with the signal. 708s # * @arg_an_y: Argument to pass with the signal. 708s # * @arg_an_n: Argument to pass with the signal. 708s # * @arg_an_q: Argument to pass with the signal. 708s # * @arg_an_i: Argument to pass with the signal. 708s # * @arg_an_u: Argument to pass with the signal. 708s # * @arg_an_x: Argument to pass with the signal. 708s # * @arg_an_t: Argument to pass with the signal. 708s # * @arg_an_d: Argument to pass with the signal. 708s # * @arg_an_s: Argument to pass with the signal. 708s # * @arg_an_o: Argument to pass with the signal. 708s # * @arg_an_g: Argument to pass with the signal. 708s # * @arg_an_h: Argument to pass with the signal. 708s # * @arg_an_ay: Argument to pass with the signal. 708s # * @arg_an_as: Argument to pass with the signal. 708s # * @arg_an_ao: Argument to pass with the signal. 708s # * @arg_an_aay: Argument to pass with the signal. 708s # * @arg_an_asv: Argument to pass with the signal. 708s # * 708s # * Emits the "SignalWithManyArgs" D-Bus signal. 708s # */ 708s # void 708s # org_project_signaling_iface_emit_signal_with_many_args ( 708s # OrgProjectSignalingIface *object, 708s # gboolean arg_an_b, 708s # guchar arg_an_y, 708s # gint16 arg_an_n, 708s # guint16 arg_an_q, 708s # gint arg_an_i, 708s # guint arg_an_u, 708s # gint64 arg_an_x, 708s # guint64 arg_an_t, 708s # gdouble arg_an_d, 708s # const gchar *arg_an_s, 708s # const gchar *arg_an_o, 708s # const gchar *arg_an_g, 708s # GVariant *arg_an_h, 708s # const gchar *arg_an_ay, 708s # const gchar *const *arg_an_as, 708s # const gchar *const *arg_an_ao, 708s # const gchar *const *arg_an_aay, 708s # GVariant *arg_an_asv) 708s # { 708s # 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); 708s # } 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxy: 708s # * 708s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceProxyClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceProxy. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceProxyPrivate 708s # { 708s # GData *qdata; 708s # }; 708s # 708s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_proxy_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 708s # g_datalist_clear (&proxy->priv->qdata); 708s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 708s # guint prop_id G_GNUC_UNUSED, 708s # const GValue *value G_GNUC_UNUSED, 708s # GParamSpec *pspec G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 708s # const gchar *sender_name G_GNUC_UNUSED, 708s # const gchar *signal_name, 708s # GVariant *parameters) 708s # { 708s # _ExtendedGDBusSignalInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # gsize n; 708s # guint signal_id; 708s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 708s # if (info == NULL) 708s # return; 708s # num_params = g_variant_n_children (parameters); 708s # paramv = g_new0 (GValue, num_params + 1); 708s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[0], proxy); 708s # g_variant_iter_init (&iter, parameters); 708s # n = 1; 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_signal_emitv (paramv, signal_id, 0, NULL); 708s # for (n = 0; n < num_params + 1; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 708s # GVariant *changed_properties, 708s # const gchar *const *invalidated_properties) 708s # { 708s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 708s # guint n; 708s # const gchar *key; 708s # GVariantIter *iter; 708s # _ExtendedGDBusPropertyInfo *info; 708s # g_variant_get (changed_properties, "a{sv}", &iter); 708s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 708s # g_datalist_remove_data (&proxy->priv->qdata, key); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # g_variant_iter_free (iter); 708s # for (n = 0; invalidated_properties[n] != NULL; n++) 708s # { 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 708s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 708s # if (info != NULL) 708s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 708s # } 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 708s # #else 708s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 708s # #endif 708s # 708s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusProxyClass *proxy_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 708s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 708s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 708s # 708s # proxy_class = G_DBUS_PROXY_CLASS (klass); 708s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 708s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_sync: 708s # * @connection: A #GDBusConnection. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_sync ( 708s # GDBusConnection *connection, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 708s # * @user_data: User data to pass to @callback. 708s # * 708s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 708s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 708s # */ 708s # void 708s # org_project_signaling_iface_proxy_new_for_bus ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GAsyncReadyCallback callback, 708s # gpointer user_data) 708s # { 708s # 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); 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_finish: 708s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 708s # * @error: Return location for error or %NULL 708s # * 708s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_finish ( 708s # GAsyncResult *res, 708s # GError **error) 708s # { 708s # GObject *ret; 708s # GObject *source_object; 708s # source_object = g_async_result_get_source_object (res); 708s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 708s # g_object_unref (source_object); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_proxy_new_for_bus_sync: 708s # * @bus_type: A #GBusType. 708s # * @flags: Flags from the #GDBusProxyFlags enumeration. 708s # * @name: A bus name (well-known or unique). 708s # * @object_path: An object path. 708s # * @cancellable: (nullable): A #GCancellable or %NULL. 708s # * @error: Return location for error or %NULL 708s # * 708s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 708s # * 708s # * The calling thread is blocked until a reply is received. 708s # * 708s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_proxy_new_for_bus_sync ( 708s # GBusType bus_type, 708s # GDBusProxyFlags flags, 708s # const gchar *name, 708s # const gchar *object_path, 708s # GCancellable *cancellable, 708s # GError **error) 708s # { 708s # GInitable *ret; 708s # 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); 708s # if (ret != NULL) 708s # return ORG_PROJECT_SIGNALING_IFACE (ret); 708s # else 708s # return NULL; 708s # } 708s # 708s # 708s # /* ------------------------------------------------------------------------ */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeleton: 708s # * 708s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 708s # */ 708s # 708s # /** 708s # * OrgProjectSignalingIfaceSkeletonClass: 708s # * @parent_class: The parent class. 708s # * 708s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 708s # */ 708s # 708s # struct _OrgProjectSignalingIfaceSkeletonPrivate 708s # { 708s # GValue *properties; 708s # GList *changed_properties; 708s # GSource *changed_properties_idle_source; 708s # GMainContext *context; 708s # GMutex lock; 708s # }; 708s # 708s # static void 708s # _org_project_signaling_iface_skeleton_handle_method_call ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name, 708s # const gchar *method_name, 708s # GVariant *parameters, 708s # GDBusMethodInvocation *invocation, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # _ExtendedGDBusMethodInfo *info; 708s # GVariantIter iter; 708s # GVariant *child; 708s # GValue *paramv; 708s # gsize num_params; 708s # guint num_extra; 708s # gsize n; 708s # guint signal_id; 708s # GValue return_value = G_VALUE_INIT; 708s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 708s # g_assert (info != NULL); 708s # num_params = g_variant_n_children (parameters); 708s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 708s # n = 0; 708s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_set_object (¶mv[n++], skeleton); 708s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 708s # g_value_set_object (¶mv[n++], invocation); 708s # if (info->pass_fdlist) 708s # { 708s # #ifdef G_OS_UNIX 708s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 708s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 708s # #else 708s # g_assert_not_reached (); 708s # #endif 708s # } 708s # g_variant_iter_init (&iter, parameters); 708s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 708s # { 708s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 708s # if (arg_info->use_gvariant) 708s # { 708s # g_value_init (¶mv[n], G_TYPE_VARIANT); 708s # g_value_set_variant (¶mv[n], child); 708s # n++; 708s # } 708s # else 708s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 708s # g_variant_unref (child); 708s # } 708s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 708s # g_value_init (&return_value, G_TYPE_BOOLEAN); 708s # g_signal_emitv (paramv, signal_id, 0, &return_value); 708s # if (!g_value_get_boolean (&return_value)) 708s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 708s # g_value_unset (&return_value); 708s # for (n = 0; n < num_params + num_extra; n++) 708s # g_value_unset (¶mv[n]); 708s # g_free (paramv); 708s # } 708s # 708s # static GVariant * 708s # _org_project_signaling_iface_skeleton_handle_get_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # GVariant *ret; 708s # ret = NULL; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # g_value_init (&value, pspec->value_type); 708s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 708s # g_value_unset (&value); 708s # } 708s # return ret; 708s # } 708s # 708s # static gboolean 708s # _org_project_signaling_iface_skeleton_handle_set_property ( 708s # GDBusConnection *connection G_GNUC_UNUSED, 708s # const gchar *sender G_GNUC_UNUSED, 708s # const gchar *object_path G_GNUC_UNUSED, 708s # const gchar *interface_name G_GNUC_UNUSED, 708s # const gchar *property_name, 708s # GVariant *variant, 708s # GError **error, 708s # gpointer user_data) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 708s # GValue value = G_VALUE_INIT; 708s # GParamSpec *pspec; 708s # _ExtendedGDBusPropertyInfo *info; 708s # gboolean ret; 708s # ret = FALSE; 708s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 708s # g_assert (info != NULL); 708s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 708s # if (pspec == NULL) 708s # { 708s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 708s # } 708s # else 708s # { 708s # if (info->use_gvariant) 708s # g_value_set_variant (&value, variant); 708s # else 708s # g_dbus_gvariant_to_gvalue (variant, &value); 708s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 708s # g_value_unset (&value); 708s # ret = TRUE; 708s # } 708s # return ret; 708s # } 708s # 708s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 708s # { 708s # _org_project_signaling_iface_skeleton_handle_method_call, 708s # _org_project_signaling_iface_skeleton_handle_get_property, 708s # _org_project_signaling_iface_skeleton_handle_set_property, 708s # {NULL} 708s # }; 708s # 708s # static GDBusInterfaceInfo * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return org_project_signaling_iface_interface_info (); 708s # } 708s # 708s # static GDBusInterfaceVTable * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 708s # { 708s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 708s # } 708s # 708s # static GVariant * 708s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 708s # 708s # GVariantBuilder builder; 708s # guint n; 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 708s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #else 708s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 708s # #endif 708s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 708s # goto out; 708s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 708s # { 708s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 708s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 708s # { 708s # GVariant *value; 708s # 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); 708s # if (value != NULL) 708s # { 708s # g_variant_take_ref (value); 708s # g_variant_builder_add (&builder, "{sv}", info->name, value); 708s # g_variant_unref (value); 708s # } 708s # } 708s # } 708s # out: 708s # return g_variant_builder_end (&builder); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 708s # { 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_simple_signal ( 708s # OrgProjectSignalingIface *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void 708s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 708s # OrgProjectSignalingIface *object, 708s # gboolean arg_an_b, 708s # guchar arg_an_y, 708s # gint16 arg_an_n, 708s # guint16 arg_an_q, 708s # gint arg_an_i, 708s # guint arg_an_u, 708s # gint64 arg_an_x, 708s # guint64 arg_an_t, 708s # gdouble arg_an_d, 708s # const gchar *arg_an_s, 708s # const gchar *arg_an_o, 708s # const gchar *arg_an_g, 708s # GVariant *arg_an_h, 708s # const gchar *arg_an_ay, 708s # const gchar *const *arg_an_as, 708s # const gchar *const *arg_an_ao, 708s # const gchar *const *arg_an_aay, 708s # GVariant *arg_an_asv) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # 708s # GList *connections, *l; 708s # GVariant *signal_variant; 708s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 708s # 708s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 708s # arg_an_b, 708s # arg_an_y, 708s # arg_an_n, 708s # arg_an_q, 708s # arg_an_i, 708s # arg_an_u, 708s # arg_an_x, 708s # arg_an_t, 708s # arg_an_d, 708s # arg_an_s, 708s # arg_an_o, 708s # arg_an_g, 708s # arg_an_h, 708s # arg_an_ay, 708s # arg_an_as, 708s # arg_an_ao, 708s # arg_an_aay, 708s # arg_an_asv)); 708s # for (l = connections; l != NULL; l = l->next) 708s # { 708s # GDBusConnection *connection = l->data; 708s # g_dbus_connection_emit_signal (connection, 708s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 708s # signal_variant, NULL); 708s # } 708s # g_variant_unref (signal_variant); 708s # g_list_free_full (connections, g_object_unref); 708s # } 708s # 708s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #else 708s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 708s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 708s # 708s # #endif 708s # static void 708s # org_project_signaling_iface_skeleton_finalize (GObject *object) 708s # { 708s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 708s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 708s # if (skeleton->priv->changed_properties_idle_source != NULL) 708s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 708s # g_main_context_unref (skeleton->priv->context); 708s # g_mutex_clear (&skeleton->priv->lock); 708s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 708s # { 708s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 708s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 708s # #else 708s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 708s # #endif 708s # 708s # g_mutex_init (&skeleton->priv->lock); 708s # skeleton->priv->context = g_main_context_ref_thread_default (); 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 708s # { 708s # GObjectClass *gobject_class; 708s # GDBusInterfaceSkeletonClass *skeleton_class; 708s # 708s # gobject_class = G_OBJECT_CLASS (klass); 708s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 708s # 708s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 708s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 708s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 708s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 708s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 708s # 708s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 708s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 708s # #endif 708s # } 708s # 708s # static void 708s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 708s # { 708s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 708s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 708s # } 708s # 708s # /** 708s # * org_project_signaling_iface_skeleton_new: 708s # * 708s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 708s # * 708s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 708s # */ 708s # OrgProjectSignalingIface * 708s # org_project_signaling_iface_skeleton_new (void) 708s # { 708s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 708s # } 708s # Error: 708s ok 25 __main__.TestCodegen.test_generate_valid_docbook 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpjco85efd 708s # /tmp/tmpjco85efd/tmpaqdqsf51.xml: 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjco85efd/tmpaqdqsf51.xml', '--generate-docbook', 'test'] 708s # Return code: 0 708s # Output: 708s # 708s # Error: 708s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpzna19_ps 708s # /tmp/tmpzna19_ps/tmpd3ocx5kz.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzna19_ps/tmpd3ocx5kz.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 708s # Return code: 1 708s # Output: 708s # 708s # Error: 708s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 708s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpulub4f85 708s # /tmp/tmpulub4f85/tmpg_ukvrw9.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpulub4f85/tmpg_ukvrw9.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifndef __STDOUT__ 708s # #define __STDOUT__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __STDOUT__ */ 708s # Error: 708s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmp0pqy9any 708s # /tmp/tmp0pqy9any/tmp_oqceceo.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0pqy9any/tmp_oqceceo.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 708s # Return code: 1 708s # Output: 708s # 708s # Error: 708s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 708s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpfl88d7dc 708s # /tmp/tmpfl88d7dc/tmphahad874.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfl88d7dc/tmphahad874.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifndef __STDOUT__ 708s # #define __STDOUT__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __STDOUT__ */ 708s # Error: 708s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmp6hmb09bt 708s # /tmp/tmp6hmb09bt/tmp7kvijtbc.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6hmb09bt/tmp7kvijtbc.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifndef __STDOUT__ 708s # #define __STDOUT__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __STDOUT__ */ 708s # Error: 708s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpfy3pk7fp 708s # /tmp/tmpfy3pk7fp/tmp_3jiazy6.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfy3pk7fp/tmp_3jiazy6.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 708s # Return code: 1 708s # Output: 708s # 708s # Error: 708s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 708s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpy564mwx7 708s # /tmp/tmpy564mwx7/tmptqtiagmw.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy564mwx7/tmptqtiagmw.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifndef __STDOUT__ 708s # #define __STDOUT__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __STDOUT__ */ 708s # Error: 708s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmp33r6m203 708s # /tmp/tmp33r6m203/tmppakea4p0.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp33r6m203/tmppakea4p0.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 708s # Return code: 1 708s # Output: 708s # 708s # Error: 708s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 708s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpidazy28q 708s # /tmp/tmpidazy28q/tmp1bwy0kq4.xml: 708s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpidazy28q/tmp1bwy0kq4.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 708s # Return code: 0 708s # Output: 708s # /* 708s # * This file is generated by gdbus-codegen, do not modify it. 708s # * 708s # * The license of this code is the same as for the D-Bus interface description 708s # * it was derived from. Note that it links to GLib, so must comply with the 708s # * LGPL linking clauses. 708s # */ 708s # 708s # #ifndef __STDOUT__ 708s # #define __STDOUT__ 708s # 708s # #include 708s # 708s # G_BEGIN_DECLS 708s # 708s # 708s # G_END_DECLS 708s # 708s # #endif /* __STDOUT__ */ 708s # Error: 708s ok 35 __main__.TestCodegen.test_help 708s # gdbus-codegen: /usr/bin/gdbus-codegen 708s # tmpdir: /tmp/tmpo678umk7 708s # Running: ['/usr/bin/gdbus-codegen', '--help'] 708s # Return code: 0 708s # Output: 708s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 708s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 708s # [--c-generate-autocleanup {none,objects,all}] 708s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 708s # [--generate-rst OUTFILES] [--pragma-once] 708s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 708s # [--glib-min-required VERSION] 708s # [--glib-max-allowed VERSION] 708s # [--symbol-decorator SYMBOL_DECORATOR] 708s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 708s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 708s # [--generate-c-code OUTFILES | --header | --body | 708s # --interface-info-header | --interface-info-body] 708s # [--output FILE | --output-directory OUTDIR] 708s # FILE [FILE ...] 708s # 708s # D-Bus code and documentation generator 708s # 708s # positional arguments: 708s # FILE D-Bus introspection XML file 708s # 708s # options: 708s # -h, --help show this help message and exit 708s # --interface-prefix PREFIX 708s # String to strip from D-Bus interface names for code 708s # and docs 708s # --c-namespace NAMESPACE 708s # The namespace to use for generated C code 708s # --c-generate-object-manager 708s # Generate a GDBusObjectManagerClient subclass when 708s # generating C code 708s # --c-generate-autocleanup {none,objects,all} 708s # Generate autocleanup support 708s # --generate-docbook OUTFILES 708s # Generate Docbook in OUTFILES-org.Project.IFace.xml 708s # --generate-md OUTFILES 708s # Generate Markdown in OUTFILES-org.Project.IFace.md 708s # --generate-rst OUTFILES 708s # Generate reStructuredText in OUTFILES- 708s # org.Project.IFace.rst 708s # --pragma-once Use "pragma once" as the inclusion guard 708s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 708s # Add annotation (may be used several times) 708s # --glib-min-required VERSION 708s # Minimum version of GLib to be supported by the 708s # outputted code (default: 2.30) 708s # --glib-max-allowed VERSION 708s # Maximum version of GLib to be used by the outputted 708s # code (default: current GLib version) 708s # --symbol-decorator SYMBOL_DECORATOR 708s # Macro used to decorate a symbol in the outputted 708s # header, possibly to export symbols 708s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 708s # Additional header required for decorator specified by 708s # --symbol-decorator 708s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 708s # Additional define required for decorator specified by 708s # --symbol-decorator 708s # --generate-c-code OUTFILES 708s # Generate C code in OUTFILES.[ch] 708s # --header Generate C headers 708s # --body Generate C code 708s # --interface-info-header 708s # Generate GDBusInterfaceInfo C header 708s # --interface-info-body 708s # Generate GDBusInterfaceInfo C code 708s # --output FILE Write output into the specified file 708s # --output-directory OUTDIR 708s # Location to output generated files 708s # Error: 708s # Executing: glib/codegen.py.test 709s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 709s # gdbus-codegen: /usr/bin/gdbus-codegen 709s # tmpdir: /tmp/tmpkblqzd8m 709s # /tmp/tmpkblqzd8m/tmpjxa77j97.xml: 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkblqzd8m/tmpjxa77j97.xml', '--generate-rst', 'test'] 709s # Return code: 0 709s # Output: 709s # 709s # Error: 709s # 709s # /tmp/tmpkblqzd8m/tmp8v1pknh5.xml: 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkblqzd8m/tmp8v1pknh5.xml', '--generate-md', 'test'] 709s # Return code: 0 709s # Output: 709s # 709s # Error: 709s # 709s # /tmp/tmpkblqzd8m/tmp0zo26qqh.xml: 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkblqzd8m/tmp0zo26qqh.xml', '--generate-docbook', 'test'] 709s # Return code: 0 709s # Output: 709s # 709s # Error: 709s ok 37 __main__.TestCodegen.test_no_args 709s # gdbus-codegen: /usr/bin/gdbus-codegen 709s # tmpdir: /tmp/tmp61r1ahcl 709s # Running: ['/usr/bin/gdbus-codegen'] 709s # Return code: 2 709s # Output: 709s # 709s # Error: 709s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 709s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 709s # [--c-generate-autocleanup {none,objects,all}] 709s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 709s # [--generate-rst OUTFILES] [--pragma-once] 709s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 709s # [--glib-min-required VERSION] 709s # [--glib-max-allowed VERSION] 709s # [--symbol-decorator SYMBOL_DECORATOR] 709s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 709s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 709s # [--generate-c-code OUTFILES | --header | --body | 709s # --interface-info-header | --interface-info-body] 709s # [--output FILE | --output-directory OUTDIR] 709s # FILE [FILE ...] 709s # gdbus-codegen: error: the following arguments are required: FILE 709s ok 38 __main__.TestCodegen.test_reproducible 709s # gdbus-codegen: /usr/bin/gdbus-codegen 709s # tmpdir: /tmp/tmp0ynmkgrf 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ynmkgrf/tmpb2jwjbk11.xml', '/tmp/tmp0ynmkgrf/tmpoz_bl2ta2.xml', '--output', '-', '--header'] 709s # Return code: 0 709s # Output: 709s # /* 709s # * This file is generated by gdbus-codegen, do not modify it. 709s # * 709s # * The license of this code is the same as for the D-Bus interface description 709s # * it was derived from. Note that it links to GLib, so must comply with the 709s # * LGPL linking clauses. 709s # */ 709s # 709s # #ifndef __STDOUT__ 709s # #define __STDOUT__ 709s # 709s # #include 709s # 709s # G_BEGIN_DECLS 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # /* Declarations for com.acme.Coyote */ 709s # 709s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 709s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 709s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 709s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 709s # 709s # struct _ComAcmeCoyote; 709s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 709s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 709s # 709s # struct _ComAcmeCoyoteIface 709s # { 709s # GTypeInterface parent_iface; 709s # 709s # 709s # 709s # gboolean (*handle_attack) ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # gboolean (*handle_run) ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # gboolean (*handle_sleep) ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # const gchar * (*get_mood) (ComAcmeCoyote *object); 709s # 709s # void (*surprised) ( 709s # ComAcmeCoyote *object); 709s # 709s # }; 709s # 709s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 709s # 709s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 709s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 709s # 709s # 709s # /* D-Bus method call completion functions: */ 709s # void com_acme_coyote_complete_run ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # void com_acme_coyote_complete_sleep ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # void com_acme_coyote_complete_attack ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # 709s # 709s # /* D-Bus signal emissions functions: */ 709s # void com_acme_coyote_emit_surprised ( 709s # ComAcmeCoyote *object); 709s # 709s # 709s # 709s # /* D-Bus method calls: */ 709s # void com_acme_coyote_call_run ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean com_acme_coyote_call_run_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean com_acme_coyote_call_run_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void com_acme_coyote_call_sleep ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean com_acme_coyote_call_sleep_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean com_acme_coyote_call_sleep_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void com_acme_coyote_call_attack ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean com_acme_coyote_call_attack_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean com_acme_coyote_call_attack_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # 709s # /* D-Bus property accessors: */ 709s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 709s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 709s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 709s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 709s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 709s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 709s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 709s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 709s # 709s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 709s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 709s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 709s # 709s # struct _ComAcmeCoyoteProxy 709s # { 709s # /*< private >*/ 709s # GDBusProxy parent_instance; 709s # ComAcmeCoyoteProxyPrivate *priv; 709s # }; 709s # 709s # struct _ComAcmeCoyoteProxyClass 709s # { 709s # GDBusProxyClass parent_class; 709s # }; 709s # 709s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 709s # #endif 709s # 709s # void com_acme_coyote_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void com_acme_coyote_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 709s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 709s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 709s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 709s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 709s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 709s # 709s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 709s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 709s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 709s # 709s # struct _ComAcmeCoyoteSkeleton 709s # { 709s # /*< private >*/ 709s # GDBusInterfaceSkeleton parent_instance; 709s # ComAcmeCoyoteSkeletonPrivate *priv; 709s # }; 709s # 709s # struct _ComAcmeCoyoteSkeletonClass 709s # { 709s # GDBusInterfaceSkeletonClass parent_class; 709s # }; 709s # 709s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 709s # #endif 709s # 709s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # /* Declarations for org.project.Bar.Frobnicator */ 709s # 709s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 709s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 709s # 709s # struct _OrgProjectBarFrobnicator; 709s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 709s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 709s # 709s # struct _OrgProjectBarFrobnicatorIface 709s # { 709s # GTypeInterface parent_iface; 709s # 709s # gboolean (*handle_random_method) ( 709s # OrgProjectBarFrobnicator *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # }; 709s # 709s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 709s # 709s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 709s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 709s # 709s # 709s # /* D-Bus method call completion functions: */ 709s # void org_project_bar_frobnicator_complete_random_method ( 709s # OrgProjectBarFrobnicator *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # 709s # 709s # /* D-Bus method calls: */ 709s # void org_project_bar_frobnicator_call_random_method ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 709s # 709s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 709s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 709s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 709s # 709s # struct _OrgProjectBarFrobnicatorProxy 709s # { 709s # /*< private >*/ 709s # GDBusProxy parent_instance; 709s # OrgProjectBarFrobnicatorProxyPrivate *priv; 709s # }; 709s # 709s # struct _OrgProjectBarFrobnicatorProxyClass 709s # { 709s # GDBusProxyClass parent_class; 709s # }; 709s # 709s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 709s # #endif 709s # 709s # void org_project_bar_frobnicator_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void org_project_bar_frobnicator_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 709s # 709s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 709s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 709s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 709s # 709s # struct _OrgProjectBarFrobnicatorSkeleton 709s # { 709s # /*< private >*/ 709s # GDBusInterfaceSkeleton parent_instance; 709s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 709s # }; 709s # 709s # struct _OrgProjectBarFrobnicatorSkeletonClass 709s # { 709s # GDBusInterfaceSkeletonClass parent_class; 709s # }; 709s # 709s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 709s # #endif 709s # 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 709s # 709s # 709s # G_END_DECLS 709s # 709s # #endif /* __STDOUT__ */ 709s # Error: 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ynmkgrf/tmpoz_bl2ta2.xml', '/tmp/tmp0ynmkgrf/tmpb2jwjbk11.xml', '--output', '-', '--header'] 709s # Return code: 0 709s # Output: 709s # /* 709s # * This file is generated by gdbus-codegen, do not modify it. 709s # * 709s # * The license of this code is the same as for the D-Bus interface description 709s # * it was derived from. Note that it links to GLib, so must comply with the 709s # * LGPL linking clauses. 709s # */ 709s # 709s # #ifndef __STDOUT__ 709s # #define __STDOUT__ 709s # 709s # #include 709s # 709s # G_BEGIN_DECLS 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # /* Declarations for com.acme.Coyote */ 709s # 709s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 709s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 709s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 709s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 709s # 709s # struct _ComAcmeCoyote; 709s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 709s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 709s # 709s # struct _ComAcmeCoyoteIface 709s # { 709s # GTypeInterface parent_iface; 709s # 709s # 709s # 709s # gboolean (*handle_attack) ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # gboolean (*handle_run) ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # gboolean (*handle_sleep) ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # const gchar * (*get_mood) (ComAcmeCoyote *object); 709s # 709s # void (*surprised) ( 709s # ComAcmeCoyote *object); 709s # 709s # }; 709s # 709s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 709s # 709s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 709s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 709s # 709s # 709s # /* D-Bus method call completion functions: */ 709s # void com_acme_coyote_complete_run ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # void com_acme_coyote_complete_sleep ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # void com_acme_coyote_complete_attack ( 709s # ComAcmeCoyote *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # 709s # 709s # /* D-Bus signal emissions functions: */ 709s # void com_acme_coyote_emit_surprised ( 709s # ComAcmeCoyote *object); 709s # 709s # 709s # 709s # /* D-Bus method calls: */ 709s # void com_acme_coyote_call_run ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean com_acme_coyote_call_run_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean com_acme_coyote_call_run_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void com_acme_coyote_call_sleep ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean com_acme_coyote_call_sleep_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean com_acme_coyote_call_sleep_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void com_acme_coyote_call_attack ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean com_acme_coyote_call_attack_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean com_acme_coyote_call_attack_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # 709s # /* D-Bus property accessors: */ 709s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 709s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 709s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 709s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 709s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 709s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 709s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 709s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 709s # 709s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 709s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 709s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 709s # 709s # struct _ComAcmeCoyoteProxy 709s # { 709s # /*< private >*/ 709s # GDBusProxy parent_instance; 709s # ComAcmeCoyoteProxyPrivate *priv; 709s # }; 709s # 709s # struct _ComAcmeCoyoteProxyClass 709s # { 709s # GDBusProxyClass parent_class; 709s # }; 709s # 709s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 709s # #endif 709s # 709s # void com_acme_coyote_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void com_acme_coyote_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 709s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 709s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 709s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 709s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 709s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 709s # 709s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 709s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 709s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 709s # 709s # struct _ComAcmeCoyoteSkeleton 709s # { 709s # /*< private >*/ 709s # GDBusInterfaceSkeleton parent_instance; 709s # ComAcmeCoyoteSkeletonPrivate *priv; 709s # }; 709s # 709s # struct _ComAcmeCoyoteSkeletonClass 709s # { 709s # GDBusInterfaceSkeletonClass parent_class; 709s # }; 709s # 709s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 709s # #endif 709s # 709s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # /* Declarations for org.project.Bar.Frobnicator */ 709s # 709s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 709s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 709s # 709s # struct _OrgProjectBarFrobnicator; 709s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 709s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 709s # 709s # struct _OrgProjectBarFrobnicatorIface 709s # { 709s # GTypeInterface parent_iface; 709s # 709s # gboolean (*handle_random_method) ( 709s # OrgProjectBarFrobnicator *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # }; 709s # 709s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 709s # 709s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 709s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 709s # 709s # 709s # /* D-Bus method call completion functions: */ 709s # void org_project_bar_frobnicator_complete_random_method ( 709s # OrgProjectBarFrobnicator *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # 709s # 709s # /* D-Bus method calls: */ 709s # void org_project_bar_frobnicator_call_random_method ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 709s # 709s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 709s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 709s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 709s # 709s # struct _OrgProjectBarFrobnicatorProxy 709s # { 709s # /*< private >*/ 709s # GDBusProxy parent_instance; 709s # OrgProjectBarFrobnicatorProxyPrivate *priv; 709s # }; 709s # 709s # struct _OrgProjectBarFrobnicatorProxyClass 709s # { 709s # GDBusProxyClass parent_class; 709s # }; 709s # 709s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 709s # #endif 709s # 709s # void org_project_bar_frobnicator_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void org_project_bar_frobnicator_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 709s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 709s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 709s # 709s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 709s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 709s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 709s # 709s # struct _OrgProjectBarFrobnicatorSkeleton 709s # { 709s # /*< private >*/ 709s # GDBusInterfaceSkeleton parent_instance; 709s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 709s # }; 709s # 709s # struct _OrgProjectBarFrobnicatorSkeletonClass 709s # { 709s # GDBusInterfaceSkeletonClass parent_class; 709s # }; 709s # 709s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 709s # #endif 709s # 709s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 709s # 709s # 709s # G_END_DECLS 709s # 709s # #endif /* __STDOUT__ */ 709s # Error: 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ynmkgrf/tmpb2jwjbk11.xml', '/tmp/tmp0ynmkgrf/tmpoz_bl2ta2.xml', '--output', '-', '--body'] 709s # Return code: 0 709s # Output: 709s # /* 709s # * This file is generated by gdbus-codegen, do not modify it. 709s # * 709s # * The license of this code is the same as for the D-Bus interface description 709s # * it was derived from. Note that it links to GLib, so must comply with the 709s # * LGPL linking clauses. 709s # */ 709s # 709s # #ifdef HAVE_CONFIG_H 709s # # include "config.h" 709s # #endif 709s # 709s # #include 709s # #ifdef G_OS_UNIX 709s # # include 709s # #endif 709s # 709s # #ifdef G_ENABLE_DEBUG 709s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 709s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 709s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 709s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 709s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 709s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 709s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 709s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 709s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 709s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 709s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 709s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 709s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 709s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 709s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 709s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 709s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 709s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 709s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 709s # #else /* !G_ENABLE_DEBUG */ 709s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 709s # * Do not access GValues directly in your code. Instead, use the 709s # * g_value_get_*() functions 709s # */ 709s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 709s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 709s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 709s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 709s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 709s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 709s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 709s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 709s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 709s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 709s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 709s # #endif /* !G_ENABLE_DEBUG */ 709s # 709s # typedef struct 709s # { 709s # GDBusArgInfo parent_struct; 709s # gboolean use_gvariant; 709s # } _ExtendedGDBusArgInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusMethodInfo parent_struct; 709s # const gchar *signal_name; 709s # gboolean pass_fdlist; 709s # } _ExtendedGDBusMethodInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusSignalInfo parent_struct; 709s # const gchar *signal_name; 709s # } _ExtendedGDBusSignalInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusPropertyInfo parent_struct; 709s # const gchar *hyphen_name; 709s # guint use_gvariant : 1; 709s # guint emits_changed_signal : 1; 709s # } _ExtendedGDBusPropertyInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusInterfaceInfo parent_struct; 709s # const gchar *hyphen_name; 709s # } _ExtendedGDBusInterfaceInfo; 709s # 709s # typedef struct 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # guint prop_id; 709s # GValue orig_value; /* the value before the change */ 709s # } ChangedProperty; 709s # 709s # static void 709s # _changed_property_free (ChangedProperty *data) 709s # { 709s # g_value_unset (&data->orig_value); 709s # g_free (data); 709s # } 709s # 709s # static gboolean 709s # _g_strv_equal0 (gchar **a, gchar **b) 709s # { 709s # gboolean ret = FALSE; 709s # guint n; 709s # if (a == NULL && b == NULL) 709s # { 709s # ret = TRUE; 709s # goto out; 709s # } 709s # if (a == NULL || b == NULL) 709s # goto out; 709s # if (g_strv_length (a) != g_strv_length (b)) 709s # goto out; 709s # for (n = 0; a[n] != NULL; n++) 709s # if (g_strcmp0 (a[n], b[n]) != 0) 709s # goto out; 709s # ret = TRUE; 709s # out: 709s # return ret; 709s # } 709s # 709s # static gboolean 709s # _g_variant_equal0 (GVariant *a, GVariant *b) 709s # { 709s # gboolean ret = FALSE; 709s # if (a == NULL && b == NULL) 709s # { 709s # ret = TRUE; 709s # goto out; 709s # } 709s # if (a == NULL || b == NULL) 709s # goto out; 709s # ret = g_variant_equal (a, b); 709s # out: 709s # return ret; 709s # } 709s # 709s # G_GNUC_UNUSED static gboolean 709s # _g_value_equal (const GValue *a, const GValue *b) 709s # { 709s # gboolean ret = FALSE; 709s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 709s # switch (G_VALUE_TYPE (a)) 709s # { 709s # case G_TYPE_BOOLEAN: 709s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 709s # break; 709s # case G_TYPE_UCHAR: 709s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 709s # break; 709s # case G_TYPE_INT: 709s # ret = (g_value_get_int (a) == g_value_get_int (b)); 709s # break; 709s # case G_TYPE_UINT: 709s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 709s # break; 709s # case G_TYPE_INT64: 709s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 709s # break; 709s # case G_TYPE_UINT64: 709s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 709s # break; 709s # case G_TYPE_DOUBLE: 709s # { 709s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 709s # gdouble da = g_value_get_double (a); 709s # gdouble db = g_value_get_double (b); 709s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 709s # } 709s # break; 709s # case G_TYPE_STRING: 709s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 709s # break; 709s # case G_TYPE_VARIANT: 709s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 709s # break; 709s # default: 709s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 709s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 709s # else 709s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 709s # break; 709s # } 709s # return ret; 709s # } 709s # 709s # static void 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint G_GNUC_UNUSED, 709s # void *marshal_data) 709s # { 709s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 709s # (void *data1, 709s # GDBusMethodInvocation *arg_method_invocation, 709s # void *data2); 709s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 709s # GCClosure *cc = (GCClosure*) closure; 709s # void *data1, *data2; 709s # gboolean v_return; 709s # 709s # g_return_if_fail (return_value != NULL); 709s # g_return_if_fail (n_param_values == 2); 709s # 709s # if (G_CCLOSURE_SWAP_DATA (closure)) 709s # { 709s # data1 = closure->data; 709s # data2 = g_value_peek_pointer (param_values + 0); 709s # } 709s # else 709s # { 709s # data1 = g_value_peek_pointer (param_values + 0); 709s # data2 = closure->data; 709s # } 709s # 709s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 709s # (marshal_data ? marshal_data : cc->callback); 709s # 709s # v_return = 709s # callback (data1, 709s # g_marshal_value_peek_object (param_values + 1), 709s # data2); 709s # 709s # g_value_set_boolean (return_value, v_return); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ 709s # * Code for interface com.acme.Coyote 709s # * ------------------------------------------------------------------------ 709s # */ 709s # 709s # /** 709s # * SECTION:ComAcmeCoyote 709s # * @title: ComAcmeCoyote 709s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 709s # * 709s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 709s # */ 709s # 709s # enum 709s # { 709s # _COM_ACME_COYOTE_SURPRISED, 709s # }; 709s # 709s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 709s # 709s # /* ---- Introspection data for com.acme.Coyote ---- */ 709s # 709s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Run", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-run", 709s # FALSE 709s # }; 709s # 709s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Sleep", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-sleep", 709s # FALSE 709s # }; 709s # 709s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Attack", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-attack", 709s # FALSE 709s # }; 709s # 709s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 709s # { 709s # &_com_acme_coyote_method_info_run.parent_struct, 709s # &_com_acme_coyote_method_info_sleep.parent_struct, 709s # &_com_acme_coyote_method_info_attack.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Surprised", 709s # NULL, 709s # NULL 709s # }, 709s # "surprised" 709s # }; 709s # 709s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 709s # { 709s # &_com_acme_coyote_signal_info_surprised.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Mood", 709s # (gchar *) "s", 709s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 709s # NULL 709s # }, 709s # "mood", 709s # FALSE, 709s # TRUE 709s # }; 709s # 709s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 709s # { 709s # &_com_acme_coyote_property_info_mood.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 709s # { 709s # { 709s # -1, 709s # (gchar *) "com.acme.Coyote", 709s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 709s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 709s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 709s # NULL 709s # }, 709s # "com-acme-coyote", 709s # }; 709s # 709s # 709s # /** 709s # * com_acme_coyote_interface_info: 709s # * 709s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 709s # * 709s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 709s # */ 709s # GDBusInterfaceInfo * 709s # com_acme_coyote_interface_info (void) 709s # { 709s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_override_properties: 709s # * @klass: The class structure for a #GObject derived class. 709s # * @property_id_begin: The property id to assign to the first overridden property. 709s # * 709s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 709s # * The properties are overridden in the order they are defined. 709s # * 709s # * Returns: The last property id. 709s # */ 709s # guint 709s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 709s # { 709s # g_object_class_override_property (klass, property_id_begin++, "mood"); 709s # return property_id_begin - 1; 709s # } 709s # 709s # 709s # inline static void 709s # com_acme_coyote_signal_marshal_surprised ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # g_cclosure_marshal_VOID__VOID (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # inline static void 709s # com_acme_coyote_method_marshal_run ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # inline static void 709s # com_acme_coyote_method_marshal_sleep ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # inline static void 709s # com_acme_coyote_method_marshal_attack ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # 709s # /** 709s # * ComAcmeCoyote: 709s # * 709s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 709s # */ 709s # 709s # /** 709s # * ComAcmeCoyoteIface: 709s # * @parent_iface: The parent interface. 709s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 709s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 709s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 709s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 709s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 709s # * 709s # * Virtual table for the D-Bus interface com.acme.Coyote. 709s # */ 709s # 709s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 709s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 709s # 709s # static void 709s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 709s # { 709s # /* GObject signals for incoming D-Bus method calls: */ 709s # /** 709s # * ComAcmeCoyote::handle-run: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-run", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # com_acme_coyote_method_marshal_run, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # /** 709s # * ComAcmeCoyote::handle-sleep: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-sleep", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # com_acme_coyote_method_marshal_sleep, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # /** 709s # * ComAcmeCoyote::handle-attack: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-attack", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # com_acme_coyote_method_marshal_attack, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # /* GObject signals for received D-Bus signals: */ 709s # /** 709s # * ComAcmeCoyote::surprised: 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 709s # * 709s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 709s # */ 709s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 709s # g_signal_new ("surprised", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 709s # NULL, 709s # NULL, 709s # com_acme_coyote_signal_marshal_surprised, 709s # G_TYPE_NONE, 709s # 0); 709s # 709s # /* GObject properties for D-Bus properties: */ 709s # /** 709s # * ComAcmeCoyote:mood: 709s # * 709s # * Represents the D-Bus property "Mood". 709s # * 709s # * 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. 709s # */ 709s # g_object_interface_install_property (iface, 709s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_get_mood: (skip) 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * Gets the value of the "Mood" D-Bus property. 709s # * 709s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # const gchar * 709s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 709s # { 709s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 709s # 709s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_dup_mood: (skip) 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * Gets a copy of the "Mood" D-Bus property. 709s # * 709s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 709s # * 709s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 709s # */ 709s # gchar * 709s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 709s # { 709s # gchar *value; 709s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 709s # return value; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_set_mood: (skip) 709s # * @object: A #ComAcmeCoyote. 709s # * @value: The value to set. 709s # * 709s # * Sets the "Mood" D-Bus property to @value. 709s # * 709s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 709s # */ 709s # void 709s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 709s # { 709s # g_object_set (G_OBJECT (object), "mood", value, NULL); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_emit_surprised: 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * Emits the "Surprised" D-Bus signal. 709s # */ 709s # void 709s # com_acme_coyote_emit_surprised ( 709s # ComAcmeCoyote *object) 709s # { 709s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_run: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the Run() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # com_acme_coyote_call_run ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "Run", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_run_finish: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with com_acme_coyote_call_run(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_run_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_run_sync: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_run_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "Run", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_sleep: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # com_acme_coyote_call_sleep ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "Sleep", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_sleep_finish: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with com_acme_coyote_call_sleep(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_sleep_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_sleep_sync: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_sleep_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "Sleep", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_attack: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # com_acme_coyote_call_attack ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "Attack", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_attack_finish: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with com_acme_coyote_call_attack(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_attack_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_attack_sync: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_attack_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "Attack", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_complete_run: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # com_acme_coyote_complete_run ( 709s # ComAcmeCoyote *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_complete_sleep: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # com_acme_coyote_complete_sleep ( 709s # ComAcmeCoyote *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_complete_attack: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # com_acme_coyote_complete_attack ( 709s # ComAcmeCoyote *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * ComAcmeCoyoteProxy: 709s # * 709s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * ComAcmeCoyoteProxyClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #ComAcmeCoyoteProxy. 709s # */ 709s # 709s # struct _ComAcmeCoyoteProxyPrivate 709s # { 709s # GData *qdata; 709s # }; 709s # 709s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 709s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 709s # 709s # #endif 709s # static void 709s # com_acme_coyote_proxy_finalize (GObject *object) 709s # { 709s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 709s # g_datalist_clear (&proxy->priv->qdata); 709s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_get_property (GObject *object, 709s # guint prop_id, 709s # GValue *value, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # GVariant *variant; 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 709s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 709s # if (info->use_gvariant) 709s # { 709s # g_value_set_variant (value, variant); 709s # } 709s # else 709s # { 709s # if (variant != NULL) 709s # g_dbus_gvariant_to_gvalue (variant, value); 709s # } 709s # if (variant != NULL) 709s # g_variant_unref (variant); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 709s # GAsyncResult *res, 709s # gpointer user_data) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info = user_data; 709s # GError *error; 709s # GVariant *_ret; 709s # error = NULL; 709s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 709s # if (!_ret) 709s # { 709s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 709s # info->parent_struct.name, 709s # error->message, g_quark_to_string (error->domain), error->code); 709s # g_error_free (error); 709s # } 709s # else 709s # { 709s # g_variant_unref (_ret); 709s # } 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_set_property (GObject *object, 709s # guint prop_id, 709s # const GValue *value, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # GVariant *variant; 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 709s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 709s # g_dbus_proxy_call (G_DBUS_PROXY (object), 709s # "org.freedesktop.DBus.Properties.Set", 709s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 709s # g_variant_unref (variant); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 709s # const gchar *sender_name G_GNUC_UNUSED, 709s # const gchar *signal_name, 709s # GVariant *parameters) 709s # { 709s # _ExtendedGDBusSignalInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # gsize n; 709s # guint signal_id; 709s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 709s # if (info == NULL) 709s # return; 709s # num_params = g_variant_n_children (parameters); 709s # paramv = g_new0 (GValue, num_params + 1); 709s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 709s # g_value_set_object (¶mv[0], proxy); 709s # g_variant_iter_init (&iter, parameters); 709s # n = 1; 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 709s # g_signal_emitv (paramv, signal_id, 0, NULL); 709s # for (n = 0; n < num_params + 1; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 709s # GVariant *changed_properties, 709s # const gchar *const *invalidated_properties) 709s # { 709s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 709s # guint n; 709s # const gchar *key; 709s # GVariantIter *iter; 709s # _ExtendedGDBusPropertyInfo *info; 709s # g_variant_get (changed_properties, "a{sv}", &iter); 709s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 709s # g_datalist_remove_data (&proxy->priv->qdata, key); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # g_variant_iter_free (iter); 709s # for (n = 0; invalidated_properties[n] != NULL; n++) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 709s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # } 709s # 709s # static const gchar * 709s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 709s # { 709s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 709s # GVariant *variant; 709s # const gchar *value = NULL; 709s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 709s # if (variant != NULL) 709s # { 709s # value = g_variant_get_string (variant, NULL); 709s # g_variant_unref (variant); 709s # } 709s # return value; 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 709s # #else 709s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 709s # #endif 709s # 709s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusProxyClass *proxy_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 709s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 709s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 709s # 709s # proxy_class = G_DBUS_PROXY_CLASS (klass); 709s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 709s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 709s # 709s # com_acme_coyote_override_properties (gobject_class, 1); 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 709s # { 709s # iface->get_mood = com_acme_coyote_proxy_get_mood; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # com_acme_coyote_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with com_acme_coyote_proxy_new(). 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_sync: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_for_bus: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # com_acme_coyote_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_for_bus_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_for_bus_sync: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * ComAcmeCoyoteSkeleton: 709s # * 709s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * ComAcmeCoyoteSkeletonClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #ComAcmeCoyoteSkeleton. 709s # */ 709s # 709s # struct _ComAcmeCoyoteSkeletonPrivate 709s # { 709s # GValue *properties; 709s # GList *changed_properties; 709s # GSource *changed_properties_idle_source; 709s # GMainContext *context; 709s # GMutex lock; 709s # }; 709s # 709s # static void 709s # _com_acme_coyote_skeleton_handle_method_call ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name, 709s # const gchar *method_name, 709s # GVariant *parameters, 709s # GDBusMethodInvocation *invocation, 709s # gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # _ExtendedGDBusMethodInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # guint num_extra; 709s # gsize n; 709s # guint signal_id; 709s # GValue return_value = G_VALUE_INIT; 709s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 709s # g_assert (info != NULL); 709s # num_params = g_variant_n_children (parameters); 709s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 709s # n = 0; 709s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 709s # g_value_set_object (¶mv[n++], skeleton); 709s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 709s # g_value_set_object (¶mv[n++], invocation); 709s # if (info->pass_fdlist) 709s # { 709s # #ifdef G_OS_UNIX 709s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 709s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 709s # #else 709s # g_assert_not_reached (); 709s # #endif 709s # } 709s # g_variant_iter_init (&iter, parameters); 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 709s # g_value_init (&return_value, G_TYPE_BOOLEAN); 709s # g_signal_emitv (paramv, signal_id, 0, &return_value); 709s # if (!g_value_get_boolean (&return_value)) 709s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 709s # g_value_unset (&return_value); 709s # for (n = 0; n < num_params + num_extra; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static GVariant * 709s # _com_acme_coyote_skeleton_handle_get_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # GVariant *ret; 709s # ret = NULL; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # g_value_init (&value, pspec->value_type); 709s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 709s # g_value_unset (&value); 709s # } 709s # return ret; 709s # } 709s # 709s # static gboolean 709s # _com_acme_coyote_skeleton_handle_set_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GVariant *variant, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # gboolean ret; 709s # ret = FALSE; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # if (info->use_gvariant) 709s # g_value_set_variant (&value, variant); 709s # else 709s # g_dbus_gvariant_to_gvalue (variant, &value); 709s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # g_value_unset (&value); 709s # ret = TRUE; 709s # } 709s # return ret; 709s # } 709s # 709s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 709s # { 709s # _com_acme_coyote_skeleton_handle_method_call, 709s # _com_acme_coyote_skeleton_handle_get_property, 709s # _com_acme_coyote_skeleton_handle_set_property, 709s # {NULL} 709s # }; 709s # 709s # static GDBusInterfaceInfo * 709s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return com_acme_coyote_interface_info (); 709s # } 709s # 709s # static GDBusInterfaceVTable * 709s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 709s # } 709s # 709s # static GVariant * 709s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 709s # 709s # GVariantBuilder builder; 709s # guint n; 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 709s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #else 709s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #endif 709s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 709s # goto out; 709s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 709s # { 709s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 709s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 709s # { 709s # GVariant *value; 709s # 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); 709s # if (value != NULL) 709s # { 709s # g_variant_take_ref (value); 709s # g_variant_builder_add (&builder, "{sv}", info->name, value); 709s # g_variant_unref (value); 709s # } 709s # } 709s # } 709s # out: 709s # return g_variant_builder_end (&builder); 709s # } 709s # 709s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 709s # 709s # static void 709s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 709s # gboolean emit_changed = FALSE; 709s # 709s # g_mutex_lock (&skeleton->priv->lock); 709s # if (skeleton->priv->changed_properties_idle_source != NULL) 709s # { 709s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 709s # skeleton->priv->changed_properties_idle_source = NULL; 709s # emit_changed = TRUE; 709s # } 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # 709s # if (emit_changed) 709s # _com_acme_coyote_emit_changed (skeleton); 709s # } 709s # 709s # static void 709s # _com_acme_coyote_on_signal_surprised ( 709s # ComAcmeCoyote *object) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # 709s # GList *connections, *l; 709s # GVariant *signal_variant; 709s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 709s # 709s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 709s # for (l = connections; l != NULL; l = l->next) 709s # { 709s # GDBusConnection *connection = l->data; 709s # g_dbus_connection_emit_signal (connection, 709s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 709s # signal_variant, NULL); 709s # } 709s # g_variant_unref (signal_variant); 709s # g_list_free_full (connections, g_object_unref); 709s # } 709s # 709s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 709s # 709s # #endif 709s # static void 709s # com_acme_coyote_skeleton_finalize (GObject *object) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # guint n; 709s # for (n = 0; n < 1; n++) 709s # g_value_unset (&skeleton->priv->properties[n]); 709s # g_free (skeleton->priv->properties); 709s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 709s # if (skeleton->priv->changed_properties_idle_source != NULL) 709s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 709s # g_main_context_unref (skeleton->priv->context); 709s # g_mutex_clear (&skeleton->priv->lock); 709s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_get_property (GObject *object, 709s # guint prop_id, 709s # GValue *value, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # g_mutex_lock (&skeleton->priv->lock); 709s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # } 709s # 709s # static gboolean 709s # _com_acme_coyote_emit_changed (gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # GList *l; 709s # GVariantBuilder builder; 709s # GVariantBuilder invalidated_builder; 709s # guint num_changes; 709s # 709s # g_mutex_lock (&skeleton->priv->lock); 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 709s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 709s # #else 709s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 709s # #endif 709s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 709s # { 709s # ChangedProperty *cp = l->data; 709s # GVariant *variant; 709s # const GValue *cur_value; 709s # 709s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 709s # if (!_g_value_equal (cur_value, &cp->orig_value)) 709s # { 709s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 709s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 709s # g_variant_unref (variant); 709s # num_changes++; 709s # } 709s # } 709s # if (num_changes > 0) 709s # { 709s # GList *connections, *ll; 709s # GVariant *signal_variant; 709s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 709s # &builder, &invalidated_builder)); 709s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 709s # for (ll = connections; ll != NULL; ll = ll->next) 709s # { 709s # GDBusConnection *connection = ll->data; 709s # 709s # g_dbus_connection_emit_signal (connection, 709s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 709s # "org.freedesktop.DBus.Properties", 709s # "PropertiesChanged", 709s # signal_variant, 709s # NULL); 709s # } 709s # g_variant_unref (signal_variant); 709s # g_list_free_full (connections, g_object_unref); 709s # } 709s # else 709s # { 709s # g_variant_builder_clear (&builder); 709s # g_variant_builder_clear (&invalidated_builder); 709s # } 709s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 709s # skeleton->priv->changed_properties = NULL; 709s # skeleton->priv->changed_properties_idle_source = NULL; 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # return FALSE; 709s # } 709s # 709s # static void 709s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 709s # { 709s # ChangedProperty *cp; 709s # GList *l; 709s # cp = NULL; 709s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 709s # { 709s # ChangedProperty *i_cp = l->data; 709s # if (i_cp->info == info) 709s # { 709s # cp = i_cp; 709s # break; 709s # } 709s # } 709s # if (cp == NULL) 709s # { 709s # cp = g_new0 (ChangedProperty, 1); 709s # cp->prop_id = prop_id; 709s # cp->info = info; 709s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 709s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 709s # g_value_copy (orig_value, &cp->orig_value); 709s # } 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_notify (GObject *object, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # g_mutex_lock (&skeleton->priv->lock); 709s # if (skeleton->priv->changed_properties != NULL && 709s # skeleton->priv->changed_properties_idle_source == NULL) 709s # { 709s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 709s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 709s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 709s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 709s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 709s # g_source_unref (skeleton->priv->changed_properties_idle_source); 709s # } 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_set_property (GObject *object, 709s # guint prop_id, 709s # const GValue *value, 709s # GParamSpec *pspec) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 709s # g_mutex_lock (&skeleton->priv->lock); 709s # g_object_freeze_notify (object); 709s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 709s # { 709s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 709s # info->emits_changed_signal) 709s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 709s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 709s # g_object_notify_by_pspec (object, pspec); 709s # } 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # g_object_thaw_notify (object); 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 709s # #else 709s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 709s # #endif 709s # 709s # g_mutex_init (&skeleton->priv->lock); 709s # skeleton->priv->context = g_main_context_ref_thread_default (); 709s # skeleton->priv->properties = g_new0 (GValue, 1); 709s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 709s # } 709s # 709s # static const gchar * 709s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # const gchar *value; 709s # g_mutex_lock (&skeleton->priv->lock); 709s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # return value; 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusInterfaceSkeletonClass *skeleton_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 709s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 709s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 709s # gobject_class->notify = com_acme_coyote_skeleton_notify; 709s # 709s # 709s # com_acme_coyote_override_properties (gobject_class, 1); 709s # 709s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 709s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 709s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 709s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 709s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 709s # { 709s # iface->surprised = _com_acme_coyote_on_signal_surprised; 709s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_skeleton_new: 709s # * 709s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_skeleton_new (void) 709s # { 709s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ 709s # * Code for interface org.project.Bar.Frobnicator 709s # * ------------------------------------------------------------------------ 709s # */ 709s # 709s # /** 709s # * SECTION:OrgProjectBarFrobnicator 709s # * @title: OrgProjectBarFrobnicator 709s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 709s # * 709s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 709s # */ 709s # 709s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 709s # 709s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 709s # { 709s # { 709s # -1, 709s # (gchar *) "RandomMethod", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-random-method", 709s # FALSE 709s # }; 709s # 709s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 709s # { 709s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 709s # { 709s # { 709s # -1, 709s # (gchar *) "org.project.Bar.Frobnicator", 709s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "org-project-bar-frobnicator", 709s # }; 709s # 709s # 709s # /** 709s # * org_project_bar_frobnicator_interface_info: 709s # * 709s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 709s # * 709s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 709s # */ 709s # GDBusInterfaceInfo * 709s # org_project_bar_frobnicator_interface_info (void) 709s # { 709s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_override_properties: 709s # * @klass: The class structure for a #GObject derived class. 709s # * @property_id_begin: The property id to assign to the first overridden property. 709s # * 709s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 709s # * The properties are overridden in the order they are defined. 709s # * 709s # * Returns: The last property id. 709s # */ 709s # guint 709s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 709s # { 709s # return property_id_begin - 1; 709s # } 709s # 709s # 709s # inline static void 709s # org_project_bar_frobnicator_method_marshal_random_method ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # 709s # /** 709s # * OrgProjectBarFrobnicator: 709s # * 709s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 709s # */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorIface: 709s # * @parent_iface: The parent interface. 709s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 709s # * 709s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 709s # */ 709s # 709s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 709s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 709s # 709s # static void 709s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 709s # { 709s # /* GObject signals for incoming D-Bus method calls: */ 709s # /** 709s # * OrgProjectBarFrobnicator::handle-random-method: 709s # * @object: A #OrgProjectBarFrobnicator. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-random-method", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # org_project_bar_frobnicator_method_marshal_random_method, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_call_random_method: 709s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 709s # * 709s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # org_project_bar_frobnicator_call_random_method ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "RandomMethod", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_call_random_method_finish: 709s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # org_project_bar_frobnicator_call_random_method_finish ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_call_random_method_sync: 709s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # org_project_bar_frobnicator_call_random_method_sync ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "RandomMethod", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_complete_random_method: 709s # * @object: A #OrgProjectBarFrobnicator. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # org_project_bar_frobnicator_complete_random_method ( 709s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorProxy: 709s # * 709s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorProxyClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #OrgProjectBarFrobnicatorProxy. 709s # */ 709s # 709s # struct _OrgProjectBarFrobnicatorProxyPrivate 709s # { 709s # GData *qdata; 709s # }; 709s # 709s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 709s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 709s # 709s # #endif 709s # static void 709s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 709s # { 709s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 709s # g_datalist_clear (&proxy->priv->qdata); 709s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 709s # guint prop_id G_GNUC_UNUSED, 709s # GValue *value G_GNUC_UNUSED, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 709s # guint prop_id G_GNUC_UNUSED, 709s # const GValue *value G_GNUC_UNUSED, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 709s # const gchar *sender_name G_GNUC_UNUSED, 709s # const gchar *signal_name, 709s # GVariant *parameters) 709s # { 709s # _ExtendedGDBusSignalInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # gsize n; 709s # guint signal_id; 709s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 709s # if (info == NULL) 709s # return; 709s # num_params = g_variant_n_children (parameters); 709s # paramv = g_new0 (GValue, num_params + 1); 709s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_value_set_object (¶mv[0], proxy); 709s # g_variant_iter_init (&iter, parameters); 709s # n = 1; 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_signal_emitv (paramv, signal_id, 0, NULL); 709s # for (n = 0; n < num_params + 1; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 709s # GVariant *changed_properties, 709s # const gchar *const *invalidated_properties) 709s # { 709s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 709s # guint n; 709s # const gchar *key; 709s # GVariantIter *iter; 709s # _ExtendedGDBusPropertyInfo *info; 709s # g_variant_get (changed_properties, "a{sv}", &iter); 709s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 709s # g_datalist_remove_data (&proxy->priv->qdata, key); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # g_variant_iter_free (iter); 709s # for (n = 0; invalidated_properties[n] != NULL; n++) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 709s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 709s # #else 709s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 709s # #endif 709s # 709s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusProxyClass *proxy_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 709s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 709s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 709s # 709s # proxy_class = G_DBUS_PROXY_CLASS (klass); 709s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 709s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # org_project_bar_frobnicator_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_sync: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_for_bus: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # org_project_bar_frobnicator_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorSkeleton: 709s # * 709s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorSkeletonClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 709s # */ 709s # 709s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 709s # { 709s # GValue *properties; 709s # GList *changed_properties; 709s # GSource *changed_properties_idle_source; 709s # GMainContext *context; 709s # GMutex lock; 709s # }; 709s # 709s # static void 709s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name, 709s # const gchar *method_name, 709s # GVariant *parameters, 709s # GDBusMethodInvocation *invocation, 709s # gpointer user_data) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 709s # _ExtendedGDBusMethodInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # guint num_extra; 709s # gsize n; 709s # guint signal_id; 709s # GValue return_value = G_VALUE_INIT; 709s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 709s # g_assert (info != NULL); 709s # num_params = g_variant_n_children (parameters); 709s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 709s # n = 0; 709s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_value_set_object (¶mv[n++], skeleton); 709s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 709s # g_value_set_object (¶mv[n++], invocation); 709s # if (info->pass_fdlist) 709s # { 709s # #ifdef G_OS_UNIX 709s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 709s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 709s # #else 709s # g_assert_not_reached (); 709s # #endif 709s # } 709s # g_variant_iter_init (&iter, parameters); 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_value_init (&return_value, G_TYPE_BOOLEAN); 709s # g_signal_emitv (paramv, signal_id, 0, &return_value); 709s # if (!g_value_get_boolean (&return_value)) 709s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 709s # g_value_unset (&return_value); 709s # for (n = 0; n < num_params + num_extra; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static GVariant * 709s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # GVariant *ret; 709s # ret = NULL; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # g_value_init (&value, pspec->value_type); 709s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 709s # g_value_unset (&value); 709s # } 709s # return ret; 709s # } 709s # 709s # static gboolean 709s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GVariant *variant, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # gboolean ret; 709s # ret = FALSE; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # if (info->use_gvariant) 709s # g_value_set_variant (&value, variant); 709s # else 709s # g_dbus_gvariant_to_gvalue (variant, &value); 709s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # g_value_unset (&value); 709s # ret = TRUE; 709s # } 709s # return ret; 709s # } 709s # 709s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 709s # { 709s # _org_project_bar_frobnicator_skeleton_handle_method_call, 709s # _org_project_bar_frobnicator_skeleton_handle_get_property, 709s # _org_project_bar_frobnicator_skeleton_handle_set_property, 709s # {NULL} 709s # }; 709s # 709s # static GDBusInterfaceInfo * 709s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return org_project_bar_frobnicator_interface_info (); 709s # } 709s # 709s # static GDBusInterfaceVTable * 709s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 709s # } 709s # 709s # static GVariant * 709s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 709s # 709s # GVariantBuilder builder; 709s # guint n; 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 709s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #else 709s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #endif 709s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 709s # goto out; 709s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 709s # { 709s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 709s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 709s # { 709s # GVariant *value; 709s # 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); 709s # if (value != NULL) 709s # { 709s # g_variant_take_ref (value); 709s # g_variant_builder_add (&builder, "{sv}", info->name, value); 709s # g_variant_unref (value); 709s # } 709s # } 709s # } 709s # out: 709s # return g_variant_builder_end (&builder); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 709s # 709s # #endif 709s # static void 709s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 709s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 709s # if (skeleton->priv->changed_properties_idle_source != NULL) 709s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 709s # g_main_context_unref (skeleton->priv->context); 709s # g_mutex_clear (&skeleton->priv->lock); 709s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 709s # #else 709s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 709s # #endif 709s # 709s # g_mutex_init (&skeleton->priv->lock); 709s # skeleton->priv->context = g_main_context_ref_thread_default (); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusInterfaceSkeletonClass *skeleton_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 709s # 709s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 709s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 709s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 709s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 709s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_skeleton_new: 709s # * 709s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_skeleton_new (void) 709s # { 709s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 709s # } 709s # Error: 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0ynmkgrf/tmpoz_bl2ta2.xml', '/tmp/tmp0ynmkgrf/tmpb2jwjbk11.xml', '--output', '-', '--body'] 709s # Return code: 0 709s # Output: 709s # /* 709s # * This file is generated by gdbus-codegen, do not modify it. 709s # * 709s # * The license of this code is the same as for the D-Bus interface description 709s # * it was derived from. Note that it links to GLib, so must comply with the 709s # * LGPL linking clauses. 709s # */ 709s # 709s # #ifdef HAVE_CONFIG_H 709s # # include "config.h" 709s # #endif 709s # 709s # #include 709s # #ifdef G_OS_UNIX 709s # # include 709s # #endif 709s # 709s # #ifdef G_ENABLE_DEBUG 709s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 709s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 709s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 709s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 709s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 709s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 709s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 709s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 709s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 709s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 709s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 709s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 709s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 709s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 709s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 709s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 709s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 709s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 709s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 709s # #else /* !G_ENABLE_DEBUG */ 709s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 709s # * Do not access GValues directly in your code. Instead, use the 709s # * g_value_get_*() functions 709s # */ 709s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 709s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 709s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 709s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 709s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 709s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 709s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 709s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 709s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 709s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 709s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 709s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 709s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 709s # #endif /* !G_ENABLE_DEBUG */ 709s # 709s # typedef struct 709s # { 709s # GDBusArgInfo parent_struct; 709s # gboolean use_gvariant; 709s # } _ExtendedGDBusArgInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusMethodInfo parent_struct; 709s # const gchar *signal_name; 709s # gboolean pass_fdlist; 709s # } _ExtendedGDBusMethodInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusSignalInfo parent_struct; 709s # const gchar *signal_name; 709s # } _ExtendedGDBusSignalInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusPropertyInfo parent_struct; 709s # const gchar *hyphen_name; 709s # guint use_gvariant : 1; 709s # guint emits_changed_signal : 1; 709s # } _ExtendedGDBusPropertyInfo; 709s # 709s # typedef struct 709s # { 709s # GDBusInterfaceInfo parent_struct; 709s # const gchar *hyphen_name; 709s # } _ExtendedGDBusInterfaceInfo; 709s # 709s # typedef struct 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # guint prop_id; 709s # GValue orig_value; /* the value before the change */ 709s # } ChangedProperty; 709s # 709s # static void 709s # _changed_property_free (ChangedProperty *data) 709s # { 709s # g_value_unset (&data->orig_value); 709s # g_free (data); 709s # } 709s # 709s # static gboolean 709s # _g_strv_equal0 (gchar **a, gchar **b) 709s # { 709s # gboolean ret = FALSE; 709s # guint n; 709s # if (a == NULL && b == NULL) 709s # { 709s # ret = TRUE; 709s # goto out; 709s # } 709s # if (a == NULL || b == NULL) 709s # goto out; 709s # if (g_strv_length (a) != g_strv_length (b)) 709s # goto out; 709s # for (n = 0; a[n] != NULL; n++) 709s # if (g_strcmp0 (a[n], b[n]) != 0) 709s # goto out; 709s # ret = TRUE; 709s # out: 709s # return ret; 709s # } 709s # 709s # static gboolean 709s # _g_variant_equal0 (GVariant *a, GVariant *b) 709s # { 709s # gboolean ret = FALSE; 709s # if (a == NULL && b == NULL) 709s # { 709s # ret = TRUE; 709s # goto out; 709s # } 709s # if (a == NULL || b == NULL) 709s # goto out; 709s # ret = g_variant_equal (a, b); 709s # out: 709s # return ret; 709s # } 709s # 709s # G_GNUC_UNUSED static gboolean 709s # _g_value_equal (const GValue *a, const GValue *b) 709s # { 709s # gboolean ret = FALSE; 709s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 709s # switch (G_VALUE_TYPE (a)) 709s # { 709s # case G_TYPE_BOOLEAN: 709s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 709s # break; 709s # case G_TYPE_UCHAR: 709s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 709s # break; 709s # case G_TYPE_INT: 709s # ret = (g_value_get_int (a) == g_value_get_int (b)); 709s # break; 709s # case G_TYPE_UINT: 709s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 709s # break; 709s # case G_TYPE_INT64: 709s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 709s # break; 709s # case G_TYPE_UINT64: 709s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 709s # break; 709s # case G_TYPE_DOUBLE: 709s # { 709s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 709s # gdouble da = g_value_get_double (a); 709s # gdouble db = g_value_get_double (b); 709s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 709s # } 709s # break; 709s # case G_TYPE_STRING: 709s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 709s # break; 709s # case G_TYPE_VARIANT: 709s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 709s # break; 709s # default: 709s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 709s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 709s # else 709s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 709s # break; 709s # } 709s # return ret; 709s # } 709s # 709s # static void 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint G_GNUC_UNUSED, 709s # void *marshal_data) 709s # { 709s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 709s # (void *data1, 709s # GDBusMethodInvocation *arg_method_invocation, 709s # void *data2); 709s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 709s # GCClosure *cc = (GCClosure*) closure; 709s # void *data1, *data2; 709s # gboolean v_return; 709s # 709s # g_return_if_fail (return_value != NULL); 709s # g_return_if_fail (n_param_values == 2); 709s # 709s # if (G_CCLOSURE_SWAP_DATA (closure)) 709s # { 709s # data1 = closure->data; 709s # data2 = g_value_peek_pointer (param_values + 0); 709s # } 709s # else 709s # { 709s # data1 = g_value_peek_pointer (param_values + 0); 709s # data2 = closure->data; 709s # } 709s # 709s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 709s # (marshal_data ? marshal_data : cc->callback); 709s # 709s # v_return = 709s # callback (data1, 709s # g_marshal_value_peek_object (param_values + 1), 709s # data2); 709s # 709s # g_value_set_boolean (return_value, v_return); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ 709s # * Code for interface com.acme.Coyote 709s # * ------------------------------------------------------------------------ 709s # */ 709s # 709s # /** 709s # * SECTION:ComAcmeCoyote 709s # * @title: ComAcmeCoyote 709s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 709s # * 709s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 709s # */ 709s # 709s # enum 709s # { 709s # _COM_ACME_COYOTE_SURPRISED, 709s # }; 709s # 709s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 709s # 709s # /* ---- Introspection data for com.acme.Coyote ---- */ 709s # 709s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Run", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-run", 709s # FALSE 709s # }; 709s # 709s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Sleep", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-sleep", 709s # FALSE 709s # }; 709s # 709s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Attack", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-attack", 709s # FALSE 709s # }; 709s # 709s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 709s # { 709s # &_com_acme_coyote_method_info_run.parent_struct, 709s # &_com_acme_coyote_method_info_sleep.parent_struct, 709s # &_com_acme_coyote_method_info_attack.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Surprised", 709s # NULL, 709s # NULL 709s # }, 709s # "surprised" 709s # }; 709s # 709s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 709s # { 709s # &_com_acme_coyote_signal_info_surprised.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 709s # { 709s # { 709s # -1, 709s # (gchar *) "Mood", 709s # (gchar *) "s", 709s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 709s # NULL 709s # }, 709s # "mood", 709s # FALSE, 709s # TRUE 709s # }; 709s # 709s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 709s # { 709s # &_com_acme_coyote_property_info_mood.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 709s # { 709s # { 709s # -1, 709s # (gchar *) "com.acme.Coyote", 709s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 709s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 709s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 709s # NULL 709s # }, 709s # "com-acme-coyote", 709s # }; 709s # 709s # 709s # /** 709s # * com_acme_coyote_interface_info: 709s # * 709s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 709s # * 709s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 709s # */ 709s # GDBusInterfaceInfo * 709s # com_acme_coyote_interface_info (void) 709s # { 709s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_override_properties: 709s # * @klass: The class structure for a #GObject derived class. 709s # * @property_id_begin: The property id to assign to the first overridden property. 709s # * 709s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 709s # * The properties are overridden in the order they are defined. 709s # * 709s # * Returns: The last property id. 709s # */ 709s # guint 709s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 709s # { 709s # g_object_class_override_property (klass, property_id_begin++, "mood"); 709s # return property_id_begin - 1; 709s # } 709s # 709s # 709s # inline static void 709s # com_acme_coyote_signal_marshal_surprised ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # g_cclosure_marshal_VOID__VOID (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # inline static void 709s # com_acme_coyote_method_marshal_run ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # inline static void 709s # com_acme_coyote_method_marshal_sleep ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # inline static void 709s # com_acme_coyote_method_marshal_attack ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # 709s # /** 709s # * ComAcmeCoyote: 709s # * 709s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 709s # */ 709s # 709s # /** 709s # * ComAcmeCoyoteIface: 709s # * @parent_iface: The parent interface. 709s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 709s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 709s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 709s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 709s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 709s # * 709s # * Virtual table for the D-Bus interface com.acme.Coyote. 709s # */ 709s # 709s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 709s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 709s # 709s # static void 709s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 709s # { 709s # /* GObject signals for incoming D-Bus method calls: */ 709s # /** 709s # * ComAcmeCoyote::handle-run: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-run", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # com_acme_coyote_method_marshal_run, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # /** 709s # * ComAcmeCoyote::handle-sleep: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-sleep", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # com_acme_coyote_method_marshal_sleep, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # /** 709s # * ComAcmeCoyote::handle-attack: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-attack", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # com_acme_coyote_method_marshal_attack, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # /* GObject signals for received D-Bus signals: */ 709s # /** 709s # * ComAcmeCoyote::surprised: 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 709s # * 709s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 709s # */ 709s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 709s # g_signal_new ("surprised", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 709s # NULL, 709s # NULL, 709s # com_acme_coyote_signal_marshal_surprised, 709s # G_TYPE_NONE, 709s # 0); 709s # 709s # /* GObject properties for D-Bus properties: */ 709s # /** 709s # * ComAcmeCoyote:mood: 709s # * 709s # * Represents the D-Bus property "Mood". 709s # * 709s # * 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. 709s # */ 709s # g_object_interface_install_property (iface, 709s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_get_mood: (skip) 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * Gets the value of the "Mood" D-Bus property. 709s # * 709s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # const gchar * 709s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 709s # { 709s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 709s # 709s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_dup_mood: (skip) 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * Gets a copy of the "Mood" D-Bus property. 709s # * 709s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 709s # * 709s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 709s # */ 709s # gchar * 709s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 709s # { 709s # gchar *value; 709s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 709s # return value; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_set_mood: (skip) 709s # * @object: A #ComAcmeCoyote. 709s # * @value: The value to set. 709s # * 709s # * Sets the "Mood" D-Bus property to @value. 709s # * 709s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 709s # */ 709s # void 709s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 709s # { 709s # g_object_set (G_OBJECT (object), "mood", value, NULL); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_emit_surprised: 709s # * @object: A #ComAcmeCoyote. 709s # * 709s # * Emits the "Surprised" D-Bus signal. 709s # */ 709s # void 709s # com_acme_coyote_emit_surprised ( 709s # ComAcmeCoyote *object) 709s # { 709s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_run: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the Run() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # com_acme_coyote_call_run ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "Run", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_run_finish: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with com_acme_coyote_call_run(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_run_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_run_sync: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_run_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "Run", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_sleep: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # com_acme_coyote_call_sleep ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "Sleep", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_sleep_finish: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with com_acme_coyote_call_sleep(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_sleep_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_sleep_sync: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_sleep_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "Sleep", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_attack: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # com_acme_coyote_call_attack ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "Attack", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_attack_finish: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with com_acme_coyote_call_attack(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_attack_finish ( 709s # ComAcmeCoyote *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_call_attack_sync: 709s # * @proxy: A #ComAcmeCoyoteProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # com_acme_coyote_call_attack_sync ( 709s # ComAcmeCoyote *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "Attack", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_complete_run: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # com_acme_coyote_complete_run ( 709s # ComAcmeCoyote *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_complete_sleep: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # com_acme_coyote_complete_sleep ( 709s # ComAcmeCoyote *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_complete_attack: 709s # * @object: A #ComAcmeCoyote. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # com_acme_coyote_complete_attack ( 709s # ComAcmeCoyote *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * ComAcmeCoyoteProxy: 709s # * 709s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * ComAcmeCoyoteProxyClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #ComAcmeCoyoteProxy. 709s # */ 709s # 709s # struct _ComAcmeCoyoteProxyPrivate 709s # { 709s # GData *qdata; 709s # }; 709s # 709s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 709s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 709s # 709s # #endif 709s # static void 709s # com_acme_coyote_proxy_finalize (GObject *object) 709s # { 709s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 709s # g_datalist_clear (&proxy->priv->qdata); 709s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_get_property (GObject *object, 709s # guint prop_id, 709s # GValue *value, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # GVariant *variant; 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 709s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 709s # if (info->use_gvariant) 709s # { 709s # g_value_set_variant (value, variant); 709s # } 709s # else 709s # { 709s # if (variant != NULL) 709s # g_dbus_gvariant_to_gvalue (variant, value); 709s # } 709s # if (variant != NULL) 709s # g_variant_unref (variant); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 709s # GAsyncResult *res, 709s # gpointer user_data) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info = user_data; 709s # GError *error; 709s # GVariant *_ret; 709s # error = NULL; 709s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 709s # if (!_ret) 709s # { 709s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 709s # info->parent_struct.name, 709s # error->message, g_quark_to_string (error->domain), error->code); 709s # g_error_free (error); 709s # } 709s # else 709s # { 709s # g_variant_unref (_ret); 709s # } 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_set_property (GObject *object, 709s # guint prop_id, 709s # const GValue *value, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # GVariant *variant; 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 709s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 709s # g_dbus_proxy_call (G_DBUS_PROXY (object), 709s # "org.freedesktop.DBus.Properties.Set", 709s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 709s # g_variant_unref (variant); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 709s # const gchar *sender_name G_GNUC_UNUSED, 709s # const gchar *signal_name, 709s # GVariant *parameters) 709s # { 709s # _ExtendedGDBusSignalInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # gsize n; 709s # guint signal_id; 709s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 709s # if (info == NULL) 709s # return; 709s # num_params = g_variant_n_children (parameters); 709s # paramv = g_new0 (GValue, num_params + 1); 709s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 709s # g_value_set_object (¶mv[0], proxy); 709s # g_variant_iter_init (&iter, parameters); 709s # n = 1; 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 709s # g_signal_emitv (paramv, signal_id, 0, NULL); 709s # for (n = 0; n < num_params + 1; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 709s # GVariant *changed_properties, 709s # const gchar *const *invalidated_properties) 709s # { 709s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 709s # guint n; 709s # const gchar *key; 709s # GVariantIter *iter; 709s # _ExtendedGDBusPropertyInfo *info; 709s # g_variant_get (changed_properties, "a{sv}", &iter); 709s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 709s # g_datalist_remove_data (&proxy->priv->qdata, key); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # g_variant_iter_free (iter); 709s # for (n = 0; invalidated_properties[n] != NULL; n++) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 709s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # } 709s # 709s # static const gchar * 709s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 709s # { 709s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 709s # GVariant *variant; 709s # const gchar *value = NULL; 709s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 709s # if (variant != NULL) 709s # { 709s # value = g_variant_get_string (variant, NULL); 709s # g_variant_unref (variant); 709s # } 709s # return value; 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 709s # #else 709s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 709s # #endif 709s # 709s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusProxyClass *proxy_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 709s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 709s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 709s # 709s # proxy_class = G_DBUS_PROXY_CLASS (klass); 709s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 709s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 709s # 709s # com_acme_coyote_override_properties (gobject_class, 1); 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 709s # { 709s # iface->get_mood = com_acme_coyote_proxy_get_mood; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # com_acme_coyote_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with com_acme_coyote_proxy_new(). 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_sync: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_for_bus: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 709s # * 709s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # com_acme_coyote_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_for_bus_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_proxy_new_for_bus_sync: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return COM_ACME_COYOTE (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * ComAcmeCoyoteSkeleton: 709s # * 709s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * ComAcmeCoyoteSkeletonClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #ComAcmeCoyoteSkeleton. 709s # */ 709s # 709s # struct _ComAcmeCoyoteSkeletonPrivate 709s # { 709s # GValue *properties; 709s # GList *changed_properties; 709s # GSource *changed_properties_idle_source; 709s # GMainContext *context; 709s # GMutex lock; 709s # }; 709s # 709s # static void 709s # _com_acme_coyote_skeleton_handle_method_call ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name, 709s # const gchar *method_name, 709s # GVariant *parameters, 709s # GDBusMethodInvocation *invocation, 709s # gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # _ExtendedGDBusMethodInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # guint num_extra; 709s # gsize n; 709s # guint signal_id; 709s # GValue return_value = G_VALUE_INIT; 709s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 709s # g_assert (info != NULL); 709s # num_params = g_variant_n_children (parameters); 709s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 709s # n = 0; 709s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 709s # g_value_set_object (¶mv[n++], skeleton); 709s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 709s # g_value_set_object (¶mv[n++], invocation); 709s # if (info->pass_fdlist) 709s # { 709s # #ifdef G_OS_UNIX 709s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 709s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 709s # #else 709s # g_assert_not_reached (); 709s # #endif 709s # } 709s # g_variant_iter_init (&iter, parameters); 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 709s # g_value_init (&return_value, G_TYPE_BOOLEAN); 709s # g_signal_emitv (paramv, signal_id, 0, &return_value); 709s # if (!g_value_get_boolean (&return_value)) 709s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 709s # g_value_unset (&return_value); 709s # for (n = 0; n < num_params + num_extra; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static GVariant * 709s # _com_acme_coyote_skeleton_handle_get_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # GVariant *ret; 709s # ret = NULL; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # g_value_init (&value, pspec->value_type); 709s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 709s # g_value_unset (&value); 709s # } 709s # return ret; 709s # } 709s # 709s # static gboolean 709s # _com_acme_coyote_skeleton_handle_set_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GVariant *variant, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # gboolean ret; 709s # ret = FALSE; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # if (info->use_gvariant) 709s # g_value_set_variant (&value, variant); 709s # else 709s # g_dbus_gvariant_to_gvalue (variant, &value); 709s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # g_value_unset (&value); 709s # ret = TRUE; 709s # } 709s # return ret; 709s # } 709s # 709s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 709s # { 709s # _com_acme_coyote_skeleton_handle_method_call, 709s # _com_acme_coyote_skeleton_handle_get_property, 709s # _com_acme_coyote_skeleton_handle_set_property, 709s # {NULL} 709s # }; 709s # 709s # static GDBusInterfaceInfo * 709s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return com_acme_coyote_interface_info (); 709s # } 709s # 709s # static GDBusInterfaceVTable * 709s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 709s # } 709s # 709s # static GVariant * 709s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 709s # 709s # GVariantBuilder builder; 709s # guint n; 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 709s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #else 709s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #endif 709s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 709s # goto out; 709s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 709s # { 709s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 709s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 709s # { 709s # GVariant *value; 709s # 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); 709s # if (value != NULL) 709s # { 709s # g_variant_take_ref (value); 709s # g_variant_builder_add (&builder, "{sv}", info->name, value); 709s # g_variant_unref (value); 709s # } 709s # } 709s # } 709s # out: 709s # return g_variant_builder_end (&builder); 709s # } 709s # 709s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 709s # 709s # static void 709s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 709s # gboolean emit_changed = FALSE; 709s # 709s # g_mutex_lock (&skeleton->priv->lock); 709s # if (skeleton->priv->changed_properties_idle_source != NULL) 709s # { 709s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 709s # skeleton->priv->changed_properties_idle_source = NULL; 709s # emit_changed = TRUE; 709s # } 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # 709s # if (emit_changed) 709s # _com_acme_coyote_emit_changed (skeleton); 709s # } 709s # 709s # static void 709s # _com_acme_coyote_on_signal_surprised ( 709s # ComAcmeCoyote *object) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # 709s # GList *connections, *l; 709s # GVariant *signal_variant; 709s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 709s # 709s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 709s # for (l = connections; l != NULL; l = l->next) 709s # { 709s # GDBusConnection *connection = l->data; 709s # g_dbus_connection_emit_signal (connection, 709s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 709s # signal_variant, NULL); 709s # } 709s # g_variant_unref (signal_variant); 709s # g_list_free_full (connections, g_object_unref); 709s # } 709s # 709s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 709s # 709s # #endif 709s # static void 709s # com_acme_coyote_skeleton_finalize (GObject *object) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # guint n; 709s # for (n = 0; n < 1; n++) 709s # g_value_unset (&skeleton->priv->properties[n]); 709s # g_free (skeleton->priv->properties); 709s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 709s # if (skeleton->priv->changed_properties_idle_source != NULL) 709s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 709s # g_main_context_unref (skeleton->priv->context); 709s # g_mutex_clear (&skeleton->priv->lock); 709s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_get_property (GObject *object, 709s # guint prop_id, 709s # GValue *value, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # g_mutex_lock (&skeleton->priv->lock); 709s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # } 709s # 709s # static gboolean 709s # _com_acme_coyote_emit_changed (gpointer user_data) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 709s # GList *l; 709s # GVariantBuilder builder; 709s # GVariantBuilder invalidated_builder; 709s # guint num_changes; 709s # 709s # g_mutex_lock (&skeleton->priv->lock); 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 709s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 709s # #else 709s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 709s # #endif 709s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 709s # { 709s # ChangedProperty *cp = l->data; 709s # GVariant *variant; 709s # const GValue *cur_value; 709s # 709s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 709s # if (!_g_value_equal (cur_value, &cp->orig_value)) 709s # { 709s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 709s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 709s # g_variant_unref (variant); 709s # num_changes++; 709s # } 709s # } 709s # if (num_changes > 0) 709s # { 709s # GList *connections, *ll; 709s # GVariant *signal_variant; 709s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 709s # &builder, &invalidated_builder)); 709s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 709s # for (ll = connections; ll != NULL; ll = ll->next) 709s # { 709s # GDBusConnection *connection = ll->data; 709s # 709s # g_dbus_connection_emit_signal (connection, 709s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 709s # "org.freedesktop.DBus.Properties", 709s # "PropertiesChanged", 709s # signal_variant, 709s # NULL); 709s # } 709s # g_variant_unref (signal_variant); 709s # g_list_free_full (connections, g_object_unref); 709s # } 709s # else 709s # { 709s # g_variant_builder_clear (&builder); 709s # g_variant_builder_clear (&invalidated_builder); 709s # } 709s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 709s # skeleton->priv->changed_properties = NULL; 709s # skeleton->priv->changed_properties_idle_source = NULL; 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # return FALSE; 709s # } 709s # 709s # static void 709s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 709s # { 709s # ChangedProperty *cp; 709s # GList *l; 709s # cp = NULL; 709s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 709s # { 709s # ChangedProperty *i_cp = l->data; 709s # if (i_cp->info == info) 709s # { 709s # cp = i_cp; 709s # break; 709s # } 709s # } 709s # if (cp == NULL) 709s # { 709s # cp = g_new0 (ChangedProperty, 1); 709s # cp->prop_id = prop_id; 709s # cp->info = info; 709s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 709s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 709s # g_value_copy (orig_value, &cp->orig_value); 709s # } 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_notify (GObject *object, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # g_mutex_lock (&skeleton->priv->lock); 709s # if (skeleton->priv->changed_properties != NULL && 709s # skeleton->priv->changed_properties_idle_source == NULL) 709s # { 709s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 709s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 709s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 709s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 709s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 709s # g_source_unref (skeleton->priv->changed_properties_idle_source); 709s # } 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_set_property (GObject *object, 709s # guint prop_id, 709s # const GValue *value, 709s # GParamSpec *pspec) 709s # { 709s # const _ExtendedGDBusPropertyInfo *info; 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # g_assert (prop_id != 0 && prop_id - 1 < 1); 709s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 709s # g_mutex_lock (&skeleton->priv->lock); 709s # g_object_freeze_notify (object); 709s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 709s # { 709s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 709s # info->emits_changed_signal) 709s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 709s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 709s # g_object_notify_by_pspec (object, pspec); 709s # } 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # g_object_thaw_notify (object); 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 709s # #else 709s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 709s # #endif 709s # 709s # g_mutex_init (&skeleton->priv->lock); 709s # skeleton->priv->context = g_main_context_ref_thread_default (); 709s # skeleton->priv->properties = g_new0 (GValue, 1); 709s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 709s # } 709s # 709s # static const gchar * 709s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 709s # { 709s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 709s # const gchar *value; 709s # g_mutex_lock (&skeleton->priv->lock); 709s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 709s # g_mutex_unlock (&skeleton->priv->lock); 709s # return value; 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusInterfaceSkeletonClass *skeleton_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 709s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 709s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 709s # gobject_class->notify = com_acme_coyote_skeleton_notify; 709s # 709s # 709s # com_acme_coyote_override_properties (gobject_class, 1); 709s # 709s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 709s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 709s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 709s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 709s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 709s # { 709s # iface->surprised = _com_acme_coyote_on_signal_surprised; 709s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 709s # } 709s # 709s # /** 709s # * com_acme_coyote_skeleton_new: 709s # * 709s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 709s # * 709s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 709s # */ 709s # ComAcmeCoyote * 709s # com_acme_coyote_skeleton_new (void) 709s # { 709s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ 709s # * Code for interface org.project.Bar.Frobnicator 709s # * ------------------------------------------------------------------------ 709s # */ 709s # 709s # /** 709s # * SECTION:OrgProjectBarFrobnicator 709s # * @title: OrgProjectBarFrobnicator 709s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 709s # * 709s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 709s # */ 709s # 709s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 709s # 709s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 709s # { 709s # { 709s # -1, 709s # (gchar *) "RandomMethod", 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "handle-random-method", 709s # FALSE 709s # }; 709s # 709s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 709s # { 709s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 709s # NULL 709s # }; 709s # 709s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 709s # { 709s # { 709s # -1, 709s # (gchar *) "org.project.Bar.Frobnicator", 709s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 709s # NULL, 709s # NULL, 709s # NULL 709s # }, 709s # "org-project-bar-frobnicator", 709s # }; 709s # 709s # 709s # /** 709s # * org_project_bar_frobnicator_interface_info: 709s # * 709s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 709s # * 709s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 709s # */ 709s # GDBusInterfaceInfo * 709s # org_project_bar_frobnicator_interface_info (void) 709s # { 709s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_override_properties: 709s # * @klass: The class structure for a #GObject derived class. 709s # * @property_id_begin: The property id to assign to the first overridden property. 709s # * 709s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 709s # * The properties are overridden in the order they are defined. 709s # * 709s # * Returns: The last property id. 709s # */ 709s # guint 709s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 709s # { 709s # return property_id_begin - 1; 709s # } 709s # 709s # 709s # inline static void 709s # org_project_bar_frobnicator_method_marshal_random_method ( 709s # GClosure *closure, 709s # GValue *return_value, 709s # unsigned int n_param_values, 709s # const GValue *param_values, 709s # void *invocation_hint, 709s # void *marshal_data) 709s # { 709s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 709s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 709s # } 709s # 709s # 709s # /** 709s # * OrgProjectBarFrobnicator: 709s # * 709s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 709s # */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorIface: 709s # * @parent_iface: The parent interface. 709s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 709s # * 709s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 709s # */ 709s # 709s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 709s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 709s # 709s # static void 709s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 709s # { 709s # /* GObject signals for incoming D-Bus method calls: */ 709s # /** 709s # * OrgProjectBarFrobnicator::handle-random-method: 709s # * @object: A #OrgProjectBarFrobnicator. 709s # * @invocation: A #GDBusMethodInvocation. 709s # * 709s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 709s # * 709s # * 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. 709s # * 709s # * 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. 709s # */ 709s # g_signal_new ("handle-random-method", 709s # G_TYPE_FROM_INTERFACE (iface), 709s # G_SIGNAL_RUN_LAST, 709s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 709s # g_signal_accumulator_true_handled, 709s # NULL, 709s # org_project_bar_frobnicator_method_marshal_random_method, 709s # G_TYPE_BOOLEAN, 709s # 1, 709s # G_TYPE_DBUS_METHOD_INVOCATION); 709s # 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_call_random_method: 709s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 709s # * 709s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 709s # */ 709s # void 709s # org_project_bar_frobnicator_call_random_method ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 709s # "RandomMethod", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # callback, 709s # user_data); 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_call_random_method_finish: 709s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # org_project_bar_frobnicator_call_random_method_finish ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_call_random_method_sync: 709s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL. 709s # * 709s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 709s # * 709s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 709s # * 709s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 709s # */ 709s # gboolean 709s # org_project_bar_frobnicator_call_random_method_sync ( 709s # OrgProjectBarFrobnicator *proxy, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GVariant *_ret; 709s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 709s # "RandomMethod", 709s # g_variant_new ("()"), 709s # G_DBUS_CALL_FLAGS_NONE, 709s # -1, 709s # cancellable, 709s # error); 709s # if (_ret == NULL) 709s # goto _out; 709s # g_variant_get (_ret, 709s # "()"); 709s # g_variant_unref (_ret); 709s # _out: 709s # return _ret != NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_complete_random_method: 709s # * @object: A #OrgProjectBarFrobnicator. 709s # * @invocation: (transfer full): A #GDBusMethodInvocation. 709s # * 709s # * 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. 709s # * 709s # * This method will free @invocation, you cannot use it afterwards. 709s # */ 709s # void 709s # org_project_bar_frobnicator_complete_random_method ( 709s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 709s # GDBusMethodInvocation *invocation) 709s # { 709s # g_dbus_method_invocation_return_value (invocation, 709s # g_variant_new ("()")); 709s # } 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorProxy: 709s # * 709s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorProxyClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #OrgProjectBarFrobnicatorProxy. 709s # */ 709s # 709s # struct _OrgProjectBarFrobnicatorProxyPrivate 709s # { 709s # GData *qdata; 709s # }; 709s # 709s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 709s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 709s # 709s # #endif 709s # static void 709s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 709s # { 709s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 709s # g_datalist_clear (&proxy->priv->qdata); 709s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 709s # guint prop_id G_GNUC_UNUSED, 709s # GValue *value G_GNUC_UNUSED, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 709s # guint prop_id G_GNUC_UNUSED, 709s # const GValue *value G_GNUC_UNUSED, 709s # GParamSpec *pspec G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 709s # const gchar *sender_name G_GNUC_UNUSED, 709s # const gchar *signal_name, 709s # GVariant *parameters) 709s # { 709s # _ExtendedGDBusSignalInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # gsize n; 709s # guint signal_id; 709s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 709s # if (info == NULL) 709s # return; 709s # num_params = g_variant_n_children (parameters); 709s # paramv = g_new0 (GValue, num_params + 1); 709s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_value_set_object (¶mv[0], proxy); 709s # g_variant_iter_init (&iter, parameters); 709s # n = 1; 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_signal_emitv (paramv, signal_id, 0, NULL); 709s # for (n = 0; n < num_params + 1; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 709s # GVariant *changed_properties, 709s # const gchar *const *invalidated_properties) 709s # { 709s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 709s # guint n; 709s # const gchar *key; 709s # GVariantIter *iter; 709s # _ExtendedGDBusPropertyInfo *info; 709s # g_variant_get (changed_properties, "a{sv}", &iter); 709s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 709s # g_datalist_remove_data (&proxy->priv->qdata, key); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # g_variant_iter_free (iter); 709s # for (n = 0; invalidated_properties[n] != NULL; n++) 709s # { 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 709s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 709s # if (info != NULL) 709s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 709s # } 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 709s # #else 709s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 709s # #endif 709s # 709s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusProxyClass *proxy_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 709s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 709s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 709s # 709s # proxy_class = G_DBUS_PROXY_CLASS (klass); 709s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 709s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # org_project_bar_frobnicator_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_sync: 709s # * @connection: A #GDBusConnection. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_for_bus: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 709s # * @user_data: User data to pass to @callback. 709s # * 709s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 709s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 709s # */ 709s # void 709s # org_project_bar_frobnicator_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data) 709s # { 709s # 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); 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 709s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 709s # * @error: Return location for error or %NULL 709s # * 709s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error) 709s # { 709s # GObject *ret; 709s # GObject *source_object; 709s # source_object = g_async_result_get_source_object (res); 709s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 709s # g_object_unref (source_object); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 709s # * @bus_type: A #GBusType. 709s # * @flags: Flags from the #GDBusProxyFlags enumeration. 709s # * @name: A bus name (well-known or unique). 709s # * @object_path: An object path. 709s # * @cancellable: (nullable): A #GCancellable or %NULL. 709s # * @error: Return location for error or %NULL 709s # * 709s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 709s # * 709s # * The calling thread is blocked until a reply is received. 709s # * 709s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error) 709s # { 709s # GInitable *ret; 709s # 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); 709s # if (ret != NULL) 709s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 709s # else 709s # return NULL; 709s # } 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorSkeleton: 709s # * 709s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 709s # */ 709s # 709s # /** 709s # * OrgProjectBarFrobnicatorSkeletonClass: 709s # * @parent_class: The parent class. 709s # * 709s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 709s # */ 709s # 709s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 709s # { 709s # GValue *properties; 709s # GList *changed_properties; 709s # GSource *changed_properties_idle_source; 709s # GMainContext *context; 709s # GMutex lock; 709s # }; 709s # 709s # static void 709s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name, 709s # const gchar *method_name, 709s # GVariant *parameters, 709s # GDBusMethodInvocation *invocation, 709s # gpointer user_data) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 709s # _ExtendedGDBusMethodInfo *info; 709s # GVariantIter iter; 709s # GVariant *child; 709s # GValue *paramv; 709s # gsize num_params; 709s # guint num_extra; 709s # gsize n; 709s # guint signal_id; 709s # GValue return_value = G_VALUE_INIT; 709s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 709s # g_assert (info != NULL); 709s # num_params = g_variant_n_children (parameters); 709s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 709s # n = 0; 709s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_value_set_object (¶mv[n++], skeleton); 709s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 709s # g_value_set_object (¶mv[n++], invocation); 709s # if (info->pass_fdlist) 709s # { 709s # #ifdef G_OS_UNIX 709s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 709s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 709s # #else 709s # g_assert_not_reached (); 709s # #endif 709s # } 709s # g_variant_iter_init (&iter, parameters); 709s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 709s # { 709s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 709s # if (arg_info->use_gvariant) 709s # { 709s # g_value_init (¶mv[n], G_TYPE_VARIANT); 709s # g_value_set_variant (¶mv[n], child); 709s # n++; 709s # } 709s # else 709s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 709s # g_variant_unref (child); 709s # } 709s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 709s # g_value_init (&return_value, G_TYPE_BOOLEAN); 709s # g_signal_emitv (paramv, signal_id, 0, &return_value); 709s # if (!g_value_get_boolean (&return_value)) 709s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 709s # g_value_unset (&return_value); 709s # for (n = 0; n < num_params + num_extra; n++) 709s # g_value_unset (¶mv[n]); 709s # g_free (paramv); 709s # } 709s # 709s # static GVariant * 709s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # GVariant *ret; 709s # ret = NULL; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # g_value_init (&value, pspec->value_type); 709s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 709s # g_value_unset (&value); 709s # } 709s # return ret; 709s # } 709s # 709s # static gboolean 709s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 709s # GDBusConnection *connection G_GNUC_UNUSED, 709s # const gchar *sender G_GNUC_UNUSED, 709s # const gchar *object_path G_GNUC_UNUSED, 709s # const gchar *interface_name G_GNUC_UNUSED, 709s # const gchar *property_name, 709s # GVariant *variant, 709s # GError **error, 709s # gpointer user_data) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 709s # GValue value = G_VALUE_INIT; 709s # GParamSpec *pspec; 709s # _ExtendedGDBusPropertyInfo *info; 709s # gboolean ret; 709s # ret = FALSE; 709s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 709s # g_assert (info != NULL); 709s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 709s # if (pspec == NULL) 709s # { 709s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 709s # } 709s # else 709s # { 709s # if (info->use_gvariant) 709s # g_value_set_variant (&value, variant); 709s # else 709s # g_dbus_gvariant_to_gvalue (variant, &value); 709s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 709s # g_value_unset (&value); 709s # ret = TRUE; 709s # } 709s # return ret; 709s # } 709s # 709s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 709s # { 709s # _org_project_bar_frobnicator_skeleton_handle_method_call, 709s # _org_project_bar_frobnicator_skeleton_handle_get_property, 709s # _org_project_bar_frobnicator_skeleton_handle_set_property, 709s # {NULL} 709s # }; 709s # 709s # static GDBusInterfaceInfo * 709s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return org_project_bar_frobnicator_interface_info (); 709s # } 709s # 709s # static GDBusInterfaceVTable * 709s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 709s # { 709s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 709s # } 709s # 709s # static GVariant * 709s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 709s # 709s # GVariantBuilder builder; 709s # guint n; 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 709s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #else 709s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 709s # #endif 709s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 709s # goto out; 709s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 709s # { 709s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 709s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 709s # { 709s # GVariant *value; 709s # 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); 709s # if (value != NULL) 709s # { 709s # g_variant_take_ref (value); 709s # g_variant_builder_add (&builder, "{sv}", info->name, value); 709s # g_variant_unref (value); 709s # } 709s # } 709s # } 709s # out: 709s # return g_variant_builder_end (&builder); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 709s # 709s # #else 709s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 709s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 709s # 709s # #endif 709s # static void 709s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 709s # { 709s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 709s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 709s # if (skeleton->priv->changed_properties_idle_source != NULL) 709s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 709s # g_main_context_unref (skeleton->priv->context); 709s # g_mutex_clear (&skeleton->priv->lock); 709s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 709s # { 709s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 709s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 709s # #else 709s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 709s # #endif 709s # 709s # g_mutex_init (&skeleton->priv->lock); 709s # skeleton->priv->context = g_main_context_ref_thread_default (); 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 709s # { 709s # GObjectClass *gobject_class; 709s # GDBusInterfaceSkeletonClass *skeleton_class; 709s # 709s # gobject_class = G_OBJECT_CLASS (klass); 709s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 709s # 709s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 709s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 709s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 709s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 709s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 709s # 709s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 709s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 709s # #endif 709s # } 709s # 709s # static void 709s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 709s # { 709s # } 709s # 709s # /** 709s # * org_project_bar_frobnicator_skeleton_new: 709s # * 709s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 709s # * 709s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 709s # */ 709s # OrgProjectBarFrobnicator * 709s # org_project_bar_frobnicator_skeleton_new (void) 709s # { 709s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 709s # } 709s # Error: 709s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 709s # gdbus-codegen: /usr/bin/gdbus-codegen 709s # tmpdir: /tmp/tmpxplbhrf2 709s # /tmp/tmpxplbhrf2/tmpxiwcbvu0.xml: 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxplbhrf2/tmpxiwcbvu0.xml', '--output', '-', '--header'] 709s # Return code: 0 709s # Output: 709s # /* 709s # * This file is generated by gdbus-codegen, do not modify it. 709s # * 709s # * The license of this code is the same as for the D-Bus interface description 709s # * it was derived from. Note that it links to GLib, so must comply with the 709s # * LGPL linking clauses. 709s # */ 709s # 709s # #ifndef __STDOUT__ 709s # #define __STDOUT__ 709s # 709s # #include 709s # 709s # G_BEGIN_DECLS 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # /* Declarations for FDPassing */ 709s # 709s # #define TYPE_FDPASSING (fdpassing_get_type ()) 709s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 709s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 709s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 709s # 709s # struct _FDPassing; 709s # typedef struct _FDPassing FDPassing; 709s # typedef struct _FDPassingIface FDPassingIface; 709s # 709s # struct _FDPassingIface 709s # { 709s # GTypeInterface parent_iface; 709s # 709s # gboolean (*handle_hello_fd) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # const gchar *arg_greeting); 709s # 709s # gboolean (*handle_no_annotation) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale); 709s # 709s # gboolean (*handle_no_annotation_nested) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GVariant *arg_files); 709s # 709s # }; 709s # 709s # GType fdpassing_get_type (void) G_GNUC_CONST; 709s # 709s # GDBusInterfaceInfo *fdpassing_interface_info (void); 709s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 709s # 709s # 709s # /* D-Bus method call completion functions: */ 709s # void fdpassing_complete_hello_fd ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # const gchar *response); 709s # 709s # void fdpassing_complete_no_annotation ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GVariant *response, 709s # const gchar *response_locale); 709s # 709s # void fdpassing_complete_no_annotation_nested ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # 709s # 709s # /* D-Bus method calls: */ 709s # void fdpassing_call_hello_fd ( 709s # FDPassing *proxy, 709s # const gchar *arg_greeting, 709s # GUnixFDList *fd_list, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_hello_fd_finish ( 709s # FDPassing *proxy, 709s # gchar **out_response, 709s # GUnixFDList **out_fd_list, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_hello_fd_sync ( 709s # FDPassing *proxy, 709s # const gchar *arg_greeting, 709s # GUnixFDList *fd_list, 709s # gchar **out_response, 709s # GUnixFDList **out_fd_list, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_call_no_annotation ( 709s # FDPassing *proxy, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_no_annotation_finish ( 709s # FDPassing *proxy, 709s # GVariant **out_response, 709s # gchar **out_response_locale, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_no_annotation_sync ( 709s # FDPassing *proxy, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale, 709s # GVariant **out_response, 709s # gchar **out_response_locale, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_call_no_annotation_nested ( 709s # FDPassing *proxy, 709s # GVariant *arg_files, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_no_annotation_nested_finish ( 709s # FDPassing *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_no_annotation_nested_sync ( 709s # FDPassing *proxy, 709s # GVariant *arg_files, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 709s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 709s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 709s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 709s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 709s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 709s # 709s # typedef struct _FDPassingProxy FDPassingProxy; 709s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 709s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 709s # 709s # struct _FDPassingProxy 709s # { 709s # /*< private >*/ 709s # GDBusProxy parent_instance; 709s # FDPassingProxyPrivate *priv; 709s # }; 709s # 709s # struct _FDPassingProxyClass 709s # { 709s # GDBusProxyClass parent_class; 709s # }; 709s # 709s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 709s # #endif 709s # 709s # void fdpassing_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # FDPassing *fdpassing_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # FDPassing *fdpassing_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 709s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 709s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 709s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 709s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 709s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 709s # 709s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 709s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 709s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 709s # 709s # struct _FDPassingSkeleton 709s # { 709s # /*< private >*/ 709s # GDBusInterfaceSkeleton parent_instance; 709s # FDPassingSkeletonPrivate *priv; 709s # }; 709s # 709s # struct _FDPassingSkeletonClass 709s # { 709s # GDBusInterfaceSkeletonClass parent_class; 709s # }; 709s # 709s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 709s # #endif 709s # 709s # FDPassing *fdpassing_skeleton_new (void); 709s # 709s # 709s # G_END_DECLS 709s # 709s # #endif /* __STDOUT__ */ 709s # Error: 709s # 709s # /tmp/tmpxplbhrf2/tmpcyz2mfon.xml: 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxplbhrf2/tmpcyz2mfon.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 709s # Return code: 0 709s # Output: 709s # /* 709s # * This file is generated by gdbus-codegen, do not modify it. 709s # * 709s # * The license of this code is the same as for the D-Bus interface description 709s # * it was derived from. Note that it links to GLib, so must comply with the 709s # * LGPL linking clauses. 709s # */ 709s # 709s # #ifndef __STDOUT__ 709s # #define __STDOUT__ 709s # 709s # #include 709s # 709s # G_BEGIN_DECLS 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # /* Declarations for FDPassing */ 709s # 709s # #define TYPE_FDPASSING (fdpassing_get_type ()) 709s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 709s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 709s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 709s # 709s # struct _FDPassing; 709s # typedef struct _FDPassing FDPassing; 709s # typedef struct _FDPassingIface FDPassingIface; 709s # 709s # struct _FDPassingIface 709s # { 709s # GTypeInterface parent_iface; 709s # 709s # gboolean (*handle_hello_fd) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # const gchar *arg_greeting); 709s # 709s # gboolean (*handle_no_annotation) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale); 709s # 709s # gboolean (*handle_no_annotation_nested) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GVariant *arg_files); 709s # 709s # }; 709s # 709s # GType fdpassing_get_type (void) G_GNUC_CONST; 709s # 709s # GDBusInterfaceInfo *fdpassing_interface_info (void); 709s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 709s # 709s # 709s # /* D-Bus method call completion functions: */ 709s # void fdpassing_complete_hello_fd ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # const gchar *response); 709s # 709s # void fdpassing_complete_no_annotation ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GVariant *response, 709s # const gchar *response_locale); 709s # 709s # void fdpassing_complete_no_annotation_nested ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation); 709s # 709s # 709s # 709s # /* D-Bus method calls: */ 709s # void fdpassing_call_hello_fd ( 709s # FDPassing *proxy, 709s # const gchar *arg_greeting, 709s # GUnixFDList *fd_list, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_hello_fd_finish ( 709s # FDPassing *proxy, 709s # gchar **out_response, 709s # GUnixFDList **out_fd_list, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_hello_fd_sync ( 709s # FDPassing *proxy, 709s # const gchar *arg_greeting, 709s # GUnixFDList *fd_list, 709s # gchar **out_response, 709s # GUnixFDList **out_fd_list, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_call_no_annotation ( 709s # FDPassing *proxy, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_no_annotation_finish ( 709s # FDPassing *proxy, 709s # GVariant **out_response, 709s # gchar **out_response_locale, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_no_annotation_sync ( 709s # FDPassing *proxy, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale, 709s # GVariant **out_response, 709s # gchar **out_response_locale, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_call_no_annotation_nested ( 709s # FDPassing *proxy, 709s # GVariant *arg_files, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_no_annotation_nested_finish ( 709s # FDPassing *proxy, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_no_annotation_nested_sync ( 709s # FDPassing *proxy, 709s # GVariant *arg_files, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 709s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 709s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 709s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 709s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 709s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 709s # 709s # typedef struct _FDPassingProxy FDPassingProxy; 709s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 709s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 709s # 709s # struct _FDPassingProxy 709s # { 709s # /*< private >*/ 709s # GDBusProxy parent_instance; 709s # FDPassingProxyPrivate *priv; 709s # }; 709s # 709s # struct _FDPassingProxyClass 709s # { 709s # GDBusProxyClass parent_class; 709s # }; 709s # 709s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 709s # #endif 709s # 709s # void fdpassing_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # FDPassing *fdpassing_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # FDPassing *fdpassing_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 709s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 709s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 709s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 709s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 709s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 709s # 709s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 709s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 709s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 709s # 709s # struct _FDPassingSkeleton 709s # { 709s # /*< private >*/ 709s # GDBusInterfaceSkeleton parent_instance; 709s # FDPassingSkeletonPrivate *priv; 709s # }; 709s # 709s # struct _FDPassingSkeletonClass 709s # { 709s # GDBusInterfaceSkeletonClass parent_class; 709s # }; 709s # 709s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 709s # #endif 709s # 709s # FDPassing *fdpassing_skeleton_new (void); 709s # 709s # 709s # G_END_DECLS 709s # 709s # #endif /* __STDOUT__ */ 709s # Error: 709s # 709s # /tmp/tmpxplbhrf2/tmp0uzw8t97.xml: 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # 709s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxplbhrf2/tmp0uzw8t97.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 709s # Return code: 0 709s # Output: 709s # /* 709s # * This file is generated by gdbus-codegen, do not modify it. 709s # * 709s # * The license of this code is the same as for the D-Bus interface description 709s # * it was derived from. Note that it links to GLib, so must comply with the 709s # * LGPL linking clauses. 709s # */ 709s # 709s # #ifndef __STDOUT__ 709s # #define __STDOUT__ 709s # 709s # #include 709s # 709s # G_BEGIN_DECLS 709s # 709s # 709s # /* ------------------------------------------------------------------------ */ 709s # /* Declarations for FDPassing */ 709s # 709s # #define TYPE_FDPASSING (fdpassing_get_type ()) 709s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 709s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 709s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 709s # 709s # struct _FDPassing; 709s # typedef struct _FDPassing FDPassing; 709s # typedef struct _FDPassingIface FDPassingIface; 709s # 709s # struct _FDPassingIface 709s # { 709s # GTypeInterface parent_iface; 709s # 709s # gboolean (*handle_hello_fd) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # const gchar *arg_greeting); 709s # 709s # gboolean (*handle_no_annotation) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale); 709s # 709s # gboolean (*handle_no_annotation_nested) ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # GVariant *arg_files); 709s # 709s # }; 709s # 709s # GType fdpassing_get_type (void) G_GNUC_CONST; 709s # 709s # GDBusInterfaceInfo *fdpassing_interface_info (void); 709s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 709s # 709s # 709s # /* D-Bus method call completion functions: */ 709s # void fdpassing_complete_hello_fd ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # const gchar *response); 709s # 709s # void fdpassing_complete_no_annotation ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list, 709s # GVariant *response, 709s # const gchar *response_locale); 709s # 709s # void fdpassing_complete_no_annotation_nested ( 709s # FDPassing *object, 709s # GDBusMethodInvocation *invocation, 709s # GUnixFDList *fd_list); 709s # 709s # 709s # 709s # /* D-Bus method calls: */ 709s # void fdpassing_call_hello_fd ( 709s # FDPassing *proxy, 709s # const gchar *arg_greeting, 709s # GDBusCallFlags call_flags, 709s # gint timeout_msec, 709s # GUnixFDList *fd_list, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_hello_fd_finish ( 709s # FDPassing *proxy, 709s # gchar **out_response, 709s # GUnixFDList **out_fd_list, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_hello_fd_sync ( 709s # FDPassing *proxy, 709s # const gchar *arg_greeting, 709s # GDBusCallFlags call_flags, 709s # gint timeout_msec, 709s # GUnixFDList *fd_list, 709s # gchar **out_response, 709s # GUnixFDList **out_fd_list, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_call_no_annotation ( 709s # FDPassing *proxy, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale, 709s # GDBusCallFlags call_flags, 709s # gint timeout_msec, 709s # GUnixFDList *fd_list, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_no_annotation_finish ( 709s # FDPassing *proxy, 709s # GVariant **out_response, 709s # gchar **out_response_locale, 709s # GUnixFDList **out_fd_list, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_no_annotation_sync ( 709s # FDPassing *proxy, 709s # GVariant *arg_greeting, 709s # const gchar *arg_greeting_locale, 709s # GDBusCallFlags call_flags, 709s # gint timeout_msec, 709s # GUnixFDList *fd_list, 709s # GVariant **out_response, 709s # gchar **out_response_locale, 709s # GUnixFDList **out_fd_list, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_call_no_annotation_nested ( 709s # FDPassing *proxy, 709s # GVariant *arg_files, 709s # GDBusCallFlags call_flags, 709s # gint timeout_msec, 709s # GUnixFDList *fd_list, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # 709s # gboolean fdpassing_call_no_annotation_nested_finish ( 709s # FDPassing *proxy, 709s # GUnixFDList **out_fd_list, 709s # GAsyncResult *res, 709s # GError **error); 709s # 709s # gboolean fdpassing_call_no_annotation_nested_sync ( 709s # FDPassing *proxy, 709s # GVariant *arg_files, 709s # GDBusCallFlags call_flags, 709s # gint timeout_msec, 709s # GUnixFDList *fd_list, 709s # GUnixFDList **out_fd_list, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 709s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 709s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 709s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 709s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 709s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 709s # 709s # typedef struct _FDPassingProxy FDPassingProxy; 709s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 709s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 709s # 709s # struct _FDPassingProxy 709s # { 709s # /*< private >*/ 709s # GDBusProxy parent_instance; 709s # FDPassingProxyPrivate *priv; 709s # }; 709s # 709s # struct _FDPassingProxyClass 709s # { 709s # GDBusProxyClass parent_class; 709s # }; 709s # 709s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 709s # #endif 709s # 709s # void fdpassing_proxy_new ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # FDPassing *fdpassing_proxy_new_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # FDPassing *fdpassing_proxy_new_sync ( 709s # GDBusConnection *connection, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # void fdpassing_proxy_new_for_bus ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GAsyncReadyCallback callback, 709s # gpointer user_data); 709s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 709s # GAsyncResult *res, 709s # GError **error); 709s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 709s # GBusType bus_type, 709s # GDBusProxyFlags flags, 709s # const gchar *name, 709s # const gchar *object_path, 709s # GCancellable *cancellable, 709s # GError **error); 709s # 709s # 709s # /* ---- */ 709s # 709s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 709s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 709s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 709s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 709s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 709s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 709s # 709s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 709s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 709s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 709s # 709s # struct _FDPassingSkeleton 709s # { 709s # /*< private >*/ 709s # GDBusInterfaceSkeleton parent_instance; 709s # FDPassingSkeletonPrivate *priv; 709s # }; 709s # 709s # struct _FDPassingSkeletonClass 709s # { 709s # GDBusInterfaceSkeletonClass parent_class; 709s # }; 709s # 709s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 709s # 709s # #if GLIB_CHECK_VERSION(2, 44, 0) 709s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 709s # #endif 709s # 709s # FDPassing *fdpassing_skeleton_new (void); 709s # 709s # 709s # G_END_DECLS 709s # 709s # #endif /* __STDOUT__ */ 709s # Error: 709s 1..39 709s ok - glib/codegen.py.test 709s # Running test: glib/custom-dispatch.test 709s TAP version 14 709s # random seed: R02S9bc79f287d08de8f089470372abf980d 709s 1..2 709s # Start of properties tests 709s # Start of custom-dispatch tests 709s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 709s ok 1 /properties/custom-dispatch/init 709s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 709s ok 2 /properties/custom-dispatch/set 709s # End of custom-dispatch tests 709s # End of properties tests 709s ok - glib/custom-dispatch.test 709s # Running test: glib/signals-refcount1.test 709s TAP version 14 709s # random seed: R02S38391762a322395677b6700727bedef8 709s 1..1 709s # Start of gobject tests 709s # Start of refcount tests 709s # init 0x62d951d13dd0 709s # 709s # init 0x62d951d10310 709s # 713s # Executing: glib/signals-refcount1.test 714s ok - glib/signals-refcount1.test 714s # dispose 0x62d951d13dd0! 714s # 714s # dispose 0x62d951d10310! 714s # 714s ok 1 /gobject/refcount/signals 714s # slow test /gobject/refcount/signals executed in 5.00 secs 714s # End of refcount tests 714s # End of gobject tests 714s # Running test: glib/refcount.test 714s TAP version 14 714s # random seed: R02S78925eccacfbf79c267681662eca614c 714s 1..4 714s # Start of refcount tests 714s ok 1 /refcount/grefcount 714s ok - glib/refcount.test 714s # Running test: glib/gdbus-bz627724.test 714s ok - glib/gdbus-bz627724.test 714s # Running test: glib/gthash.test 714s ok - glib/gthash.test 714s # Running test: glib/gdbus-sasl.test 714s ok 2 /refcount/gatomicrefcount 714s # Start of grefcount tests 714s ok 3 /refcount/grefcount/saturation 714s # End of grefcount tests 714s # Start of gatomicrefcount tests 714s ok 4 /refcount/gatomicrefcount/saturation 714s # End of gatomicrefcount tests 714s # End of refcount tests 714s TAP version 14 714s # random seed: R02S1b04165c24052deb5f53a692cbe2a736 714s 1..1 714s # Start of gdbus tests 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_DLPT52/gdbus/bz627724/.dirs/runtime 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s ok 1 /gdbus/bz627724 714s # End of gdbus tests 714s TAP version 14 714s # random seed: R02Sf36cfe56a0ff0a6ec73d024d63d2a2cb 714s 1..1 714s # Start of gthash tests 714s ok 1 /gthash/build-retrieve 714s # End of gthash tests 714s TAP version 14 714s # random seed: R02S03d22f32df50f9856394a3a05c04e658 714s 1..1 714s # Start of gdbus tests 714s # Start of sasl tests 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_0RDT52/gdbus/sasl/server/.dirs/runtime 714s # New handshake: EXTERNAL with incorrect initial response 714s # C:“AUTH EXTERNAL 30†714s # Expect: /^REJECTED.*$/ 714s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†714s # New handshake: EXTERNAL without initial response, failing to authenticate 714s # C:“AUTH EXTERNAL†714s # Expect: /^DATA$/ 714s # S:“DATA†714s # C:“DATA 30†714s # Expect: /^REJECTED.*$/ 714s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†714s # New handshake: EXTERNAL with initial response 714s # C:“AUTH EXTERNAL 31303030†714s # Expect: /^OK [0-9a-f]+$/ 714s # S:“OK 0c9090d37ddd8fbc5aed175068175d5b†714s # New handshake: EXTERNAL without initial response 714s # C:“AUTH EXTERNAL†714s # Expect: /^DATA$/ 714s # S:“DATA†714s # C:“DATA 31303030†714s ok - glib/gdbus-sasl.test 714s # Running test: glib/hostutils.test 714s ok - glib/hostutils.test 714s # Running test: glib/gdbus-connection-loss.test 714s # Expect: /^OK [0-9a-f]+$/ 714s # S:“OK 0c9090d37ddd8fbc5aed175068175d5b†714s # New handshake: EXTERNAL with empty authorization identity 714s # C:“AUTH EXTERNAL†714s # Expect: /^DATA$/ 714s # S:“DATA†714s # C:“DATA†714s # Expect: /^OK [0-9a-f]+$/ 714s # S:“OK 0c9090d37ddd8fbc5aed175068175d5b†714s # New handshake: EXTERNAL with empty authorization identity and whitespace 714s # C:“AUTH EXTERNAL†714s # Expect: /^DATA$/ 714s # S:“DATA†714s # C:“DATA †714s # Expect: /^OK [0-9a-f]+$/ 714s # S:“OK 0c9090d37ddd8fbc5aed175068175d5b†714s ok 1 /gdbus/sasl/server 714s # End of sasl tests 714s # End of gdbus tests 714s TAP version 14 714s # random seed: R02S1a9ad67234fb99b71ad0d0f36c87efe2 714s 1..3 714s # Start of hostutils tests 714s ok 1 /hostutils/to_ascii 714s ok 2 /hostutils/to_unicode 714s ok 3 /hostutils/is_ip_addr 714s # End of hostutils tests 714s TAP version 14 714s # random seed: R02S889c4ce7cc56a18b3cdbdee3a91078cb 714s 1..1 714s # Start of gdbus tests 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_UDIU52/gdbus/connection-loss/.dirs/runtime 714s ok 1 /gdbus/connection-loss 714s # End of gdbus tests 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s ok - glib/gdbus-connection-loss.test 714s # Running test: glib/list.test 714s TAP version 14 714s # random seed: R02Sa03cefe43af6beca598f8b5684bcc984 714s 1..20 714s # Start of list tests 714s ok 1 /list/sort 714s ok 2 /list/sort-with-data 714s ok 3 /list/insert-before-link 714s ok 4 /list/insert-sorted 714s ok 5 /list/insert-sorted-with-data 714s ok 6 /list/reverse 714s ok 7 /list/nth 714s ok 8 /list/concat 714s ok 9 /list/remove 714s ok 10 /list/remove-all 714s ok 11 /list/first-last 714s ok 12 /list/insert 714s ok 13 /list/free-full 714s ok 14 /list/copy 714s ok 15 /list/copy-deep 714s ok 16 /list/delete-link 714s ok 17 /list/prepend 714s ok 18 /list/position 714s ok 19 /list/double-free 714s # Start of sort tests 714s ok 20 /list/sort/stable 714s # End of sort tests 714s # End of list tests 714s ok - glib/list.test 714s # Running test: glib/autoptr.test 714s TAP version 14 714s # random seed: R02S70979c0e18294426498e84010d96512d 714s 1..6 714s # Start of autoptr tests 714s ok 1 /autoptr/autoptr 714s ok 2 /autoptr/autoptr_steal 714s ok 3 /autoptr/autolist 714s ok 4 /autoptr/autoslist 714s ok 5 /autoptr/autoqueue 714s ok 6 /autoptr/autoclass 714s # End of autoptr tests 714s ok - glib/autoptr.test 714s # Running test: glib/spawn-test.test 714s TAP version 14 714s # random seed: R02S3f83305cdc76c2665dde1a15b13ea268 714s 1..2 714s # Start of spawn tests 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_44PR52/spawn/basics/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_44PR52/spawn/basics/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_44PR52/spawn/basics/.dirs/runtime 714s ok 1 /spawn/basics 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_44PR52/spawn/stdio-overwrite/.dirs/runtime 714s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 714s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 714s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 714s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 714s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 714s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 714s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 714s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 714s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 714s # Fetching GSpawn result output with stdin open, stdout open, stderr open 714s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 714s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 714s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 714s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 714s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 714s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 714s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 714s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 714s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 714s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 714s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 714s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 714s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 714s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 714s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 714s # Fetching GSpawn result with stdin open, stdout open, stderr open 714s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 714s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 714s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 714s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 714s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 714s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 714s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 714s ok 2 /spawn/stdio-overwrite 714s # End of spawn tests 714s ok - glib/spawn-test.test 714s # Running test: glib/fdo-notification-backend.test 714s TAP version 14 714s # random seed: R02Sf652c8e8d6157e7b25f93a59ce31e30f 714s 1..2 714s # Start of fdo-notification-backend tests 714s # Test constructing a GFdoNotificationBackend 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s ok 1 /fdo-notification-backend/construction 714s # Start of dbus tests 714s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s ok 2 /fdo-notification-backend/dbus/activate-action 714s # End of dbus tests 714s # End of fdo-notification-backend tests 714s ok - glib/fdo-notification-backend.test 714s # Running test: glib/timeout.test 714s TAP version 14 714s # random seed: R02S59974ca93158f5d3d248f35f4ad3898b 714s 1..5 714s # Start of timeout tests 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 716s ok 1 /timeout/seconds 716s # slow test /timeout/seconds executed in 2.10 secs 718s ok 2 /timeout/seconds-once 718s # slow test /timeout/seconds-once executed in 2.10 secs 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 718s # Executing: glib/timeout.test 720s ok 3 /timeout/weeks-overflow 720s # slow test /timeout/weeks-overflow executed in 2.10 secs 720s ok 4 /timeout/far-future-ready-time 723s # Executing: glib/timeout.test 728s # Executing: glib/timeout.test 731s ok 5 /timeout/rounding 731s # slow test /timeout/rounding executed in 10.11 secs 731s # End of timeout tests 731s ok - glib/timeout.test 731s # Running test: glib/include.test 731s TAP version 14 731s # random seed: R02Sc9baa9022c4fcdf1dd249f24317dd9a4 731s 1..1 731s # Start of include tests 731s ok 1 /include/rwlock 731s # End of include tests 731s ok - glib/include.test 731s # Running test: glib/qdata.test 731s TAP version 14 731s # random seed: R02Sb4de544471bd35d36a71ee985faf7464 731s 1..2 731s # Start of qdata tests 731s ok 1 /qdata/threaded 731s ok 2 /qdata/dup 731s # End of qdata tests 731s ok - glib/qdata.test 731s # Running test: glib/hmac.test 731s TAP version 14 731s # random seed: R02Sa8da44844749cc3b21b3fa113894e742 731s 1..37 731s # Start of hmac tests 731s ok 1 /hmac/sha1-1 731s ok 2 /hmac/sha1-2 731s ok 3 /hmac/sha1-3 731s ok 4 /hmac/sha1-4 731s ok 5 /hmac/sha1-5 731s ok 6 /hmac/sha1-6 731s ok 7 /hmac/sha1-7 731s ok 8 /hmac/sha256-1 731s ok 9 /hmac/sha256-2 731s ok 10 /hmac/sha256-3 731s ok 11 /hmac/sha256-4 731s ok 12 /hmac/sha256-5 731s ok 13 /hmac/sha256-6 731s ok 14 /hmac/sha384-1 731s ok 15 /hmac/sha384-2 731s ok 16 /hmac/sha384-3 731s ok 17 /hmac/sha384-4 731s ok 18 /hmac/sha384-5 731s ok 19 /hmac/sha384-6 731s ok 20 /hmac/sha512-1 731s ok 21 /hmac/sha512-2 731s ok 22 /hmac/sha512-3 731s ok 23 /hmac/sha512-4 731s ok 24 /hmac/sha512-5 731s ok 25 /hmac/sha512-6 731s ok 26 /hmac/md5-1 731s ok 27 /hmac/md5-2 731s ok 28 /hmac/md5-3 731s ok 29 /hmac/md5-4 731s ok 30 /hmac/md5-5 731s ok 31 /hmac/md5-6 731s ok 32 /hmac/md5-7 731s ok 33 /hmac/ref-unref 731s ok 34 /hmac/copy 731s ok 35 /hmac/for-data 731s ok 36 /hmac/for-string 731s ok 37 /hmac/for-bytes 731s # End of hmac tests 731s ok - glib/hmac.test 731s # Running test: glib/memchunk.test 731s ok - glib/memchunk.test 731s # Running test: glib/gdbus-test-codegen.test 731s TAP version 14 731s # random seed: R02S50b229b5ac01315347188364376b5d40 731s 1..1 731s # Start of memchunk tests 731s ok 1 /memchunk/basic 731s # End of memchunk tests 731s TAP version 14 731s # random seed: R02S1ca22be72c67610b2d272d909f62054a 731s 1..8 731s # Start of gdbus tests 731s # Start of codegen tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/annotations/.dirs/runtime 731s ok 1 /gdbus/codegen/annotations 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/interface_stability/.dirs/runtime 731s ok 2 /gdbus/codegen/interface_stability 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/object-manager/.dirs/runtime 731s ok 3 /gdbus/codegen/object-manager 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/property-naming/.dirs/runtime 731s ok 4 /gdbus/codegen/property-naming 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/autocleanups/.dirs/runtime 731s ok 5 /gdbus/codegen/autocleanups 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/deprecations/.dirs/runtime 731s ok 6 /gdbus/codegen/deprecations 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/standalone-interface-info/.dirs/runtime 731s ok 7 /gdbus/codegen/standalone-interface-info 731s ok - glib/gdbus-test-codegen.test 731s # Running test: glib/mutex.test 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_WCSY52/gdbus/codegen/unix-fd-list/.dirs/runtime 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 731s ok 8 /gdbus/codegen/unix-fd-list 731s # End of codegen tests 731s # End of gdbus tests 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 731s TAP version 14 731s # random seed: R02S0aec5c6d50a6b771e64ac52465f96140 731s 1..17 731s # Start of thread tests 731s ok 1 /thread/mutex1 731s ok 2 /thread/mutex2 731s ok 3 /thread/mutex3 731s ok 4 /thread/mutex4 734s # Executing: glib/mutex.test 738s ok 5 /thread/mutex5 738s # slow test /thread/mutex5 executed in 7.35 secs 738s # Start of mutex tests 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # /thread/mutex/errno summary: Validates that errno is not touched upon return 738s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 738s # Executing: glib/mutex.test 738s ok 6 /thread/mutex/errno 738s # Start of perf tests 738s # max perf: inf mips 738s ok 7 /thread/mutex/perf/uncontended 738s # Start of contended tests 738s # max perf: inf mips 738s ok 8 /thread/mutex/perf/contended/1 738s # max perf: inf mips 738s ok 9 /thread/mutex/perf/contended/2 738s # max perf: 4.000000 mips 738s ok 10 /thread/mutex/perf/contended/3 738s # max perf: 0.074627 mips 738s ok 11 /thread/mutex/perf/contended/4 738s # max perf: 6.000000 mips 738s ok 12 /thread/mutex/perf/contended/5 738s # max perf: 7.000000 mips 738s ok 13 /thread/mutex/perf/contended/6 738s # max perf: 4.000000 mips 738s ok 14 /thread/mutex/perf/contended/7 738s # max perf: 9.000000 mips 738s ok 15 /thread/mutex/perf/contended/8 738s # max perf: 10.000000 mips 739s ok - glib/mutex.test 739s # Running test: glib/resolver-parsing.test 739s ok 16 /thread/mutex/perf/contended/9 739s # max perf: 11.000000 mips 739s ok 17 /thread/mutex/perf/contended/10 739s # End of contended tests 739s # End of perf tests 739s # End of mutex tests 739s # End of thread tests 739s TAP version 14 739s # random seed: R02Sa11ccb4337457cc3daf731f507beb079 739s 1..21 739s # Start of gresolver tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/invalid-header/.dirs/runtime 739s ok 1 /gresolver/invalid-header 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/record-ownership/.dirs/runtime 739s ok 2 /gresolver/record-ownership 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/unknown-record-type/.dirs/runtime 739s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 739s ok 3 /gresolver/unknown-record-type 739s # Start of mx tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/mx/valid/.dirs/runtime 739s ok 4 /gresolver/mx/valid 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/.dirs/runtime 739s ok 5 /gresolver/mx/invalid 739s # Start of invalid tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short/.dirs/runtime 739s ok 6 /gresolver/mx/invalid/too-short 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/mx/invalid/too-short2/.dirs/runtime 739s ok 7 /gresolver/mx/invalid/too-short2 739s # End of invalid tests 739s # End of mx tests 739s # Start of ns tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/ns/valid/.dirs/runtime 739s ok 8 /gresolver/ns/valid 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/ns/invalid/.dirs/runtime 739s ok 9 /gresolver/ns/invalid 739s # End of ns tests 739s # Start of soa tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/soa/valid/.dirs/runtime 739s ok 10 /gresolver/soa/valid 739s # Start of invalid tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/mname/.dirs/runtime 739s ok 11 /gresolver/soa/invalid/mname 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/rname/.dirs/runtime 739s ok 12 /gresolver/soa/invalid/rname 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/soa/invalid/too-short/.dirs/runtime 739s ok 13 /gresolver/soa/invalid/too-short 739s # End of invalid tests 739s # End of soa tests 739s # Start of srv tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/srv/valid/.dirs/runtime 739s ok 14 /gresolver/srv/valid 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/.dirs/runtime 739s ok 15 /gresolver/srv/invalid 739s # Start of invalid tests 739s ok - glib/resolver-parsing.test 739s # Running test: glib/gdbus-test-codegen-old.test 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short/.dirs/runtime 739s ok 16 /gresolver/srv/invalid/too-short 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/srv/invalid/too-short2/.dirs/runtime 739s ok 17 /gresolver/srv/invalid/too-short2 739s # End of invalid tests 739s # End of srv tests 739s # Start of txt tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/.dirs/runtime 739s ok 18 /gresolver/txt/valid 739s # Start of valid tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/txt/valid/multiple-strings/.dirs/runtime 739s ok 19 /gresolver/txt/valid/multiple-strings 739s # End of valid tests 739s # Start of invalid tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/empty/.dirs/runtime 739s ok 20 /gresolver/txt/invalid/empty 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_FG5352/gresolver/txt/invalid/overflow/.dirs/runtime 739s ok 21 /gresolver/txt/invalid/overflow 739s # End of invalid tests 739s # End of txt tests 739s # End of gresolver tests 739s TAP version 14 739s # random seed: R02Sf8f33c68e529685fd573f5dc534c058b 739s 1..8 739s # Start of gdbus tests 739s # Start of codegen tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/annotations/.dirs/runtime 739s ok 1 /gdbus/codegen/annotations 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/interface_stability/.dirs/runtime 739s ok 2 /gdbus/codegen/interface_stability 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/object-manager/.dirs/runtime 739s ok 3 /gdbus/codegen/object-manager 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/property-naming/.dirs/runtime 739s ok 4 /gdbus/codegen/property-naming 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/autocleanups/.dirs/runtime 739s ok 5 /gdbus/codegen/autocleanups 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/deprecations/.dirs/runtime 739s ok 6 /gdbus/codegen/deprecations 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/standalone-interface-info/.dirs/runtime 739s ok 7 /gdbus/codegen/standalone-interface-info 739s ok - glib/gdbus-test-codegen-old.test 739s # Running test: glib/simple-async-result.test 739s ok - glib/simple-async-result.test 739s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_KLG252/gdbus/codegen/unix-fd-list/.dirs/runtime 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 739s ok 8 /gdbus/codegen/unix-fd-list 739s # End of codegen tests 739s # End of gdbus tests 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s TAP version 14 739s # random seed: R02S83790254df01ac60738ecc0535696f37 739s 1..2 739s # Start of gio tests 739s # Start of simple-async-result tests 739s ok 1 /gio/simple-async-result/test 739s # GLib-GIO-DEBUG: GTask 0x6507e2839040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 739s ok 2 /gio/simple-async-result/valid 739s # End of simple-async-result tests 739s # End of gio tests 739s TAP version 14 739s # random seed: R02Sea8c414e6ea1d0c8a4c33745e3bb701b 739s 1..8 739s # Start of gdbus tests 739s # Start of codegen tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/annotations/.dirs/runtime 739s ok 1 /gdbus/codegen/annotations 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/interface_stability/.dirs/runtime 739s ok 2 /gdbus/codegen/interface_stability 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/object-manager/.dirs/runtime 739s ok 3 /gdbus/codegen/object-manager 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/state 739s ok - glib/gdbus-test-codegen-min-required-2-64.test 739s # Running test: glib/gdbus-proxy-unique-name.test 739s ok - glib/gdbus-proxy-unique-name.test 739s # Running test: glib/protocol.test 739s ok - glib/protocol.test 739s # Running test: glib/error.test 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/property-naming/.dirs/runtime 739s ok 4 /gdbus/codegen/property-naming 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/autocleanups/.dirs/runtime 739s ok 5 /gdbus/codegen/autocleanups 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/deprecations/.dirs/runtime 739s ok 6 /gdbus/codegen/deprecations 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/standalone-interface-info/.dirs/runtime 739s ok 7 /gdbus/codegen/standalone-interface-info 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_6FL052/gdbus/codegen/unix-fd-list/.dirs/runtime 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 739s ok 8 /gdbus/codegen/unix-fd-list 739s # End of codegen tests 739s # End of gdbus tests 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s TAP version 14 739s # random seed: R02S2779c20d31fa9423532a8398a1cde84c 739s 1..1 739s # Start of gdbus tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_6DBZ52/gdbus/proxy-unique-name/.dirs/runtime 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 739s ok 1 /gdbus/proxy-unique-name 739s # End of gdbus tests 739s TAP version 14 739s # random seed: R02Sf702beffc334d2690a438d35768a34f4 739s 1..9 739s # Start of glib tests 739s # Start of testing tests 739s # Start of protocol tests 739s ok 1 /glib/testing/protocol/debug 739s ok 2 /glib/testing/protocol/info 739s ok 3 /glib/testing/protocol/message 739s ok 4 /glib/testing/protocol/warning 739s ok 5 /glib/testing/protocol/critical 739s ok 6 /glib/testing/protocol/error 739s ok 7 /glib/testing/protocol/gtest-message 739s ok 8 /glib/testing/protocol/test-message 739s ok 9 /glib/testing/protocol/test-error 739s # End of protocol tests 739s # End of testing tests 739s # End of glib tests 739s TAP version 14 739s # random seed: R02Sb92781965d40415a770f9c64cb97b3da 739s 1..3 739s # Start of error tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OG6Z52/error/from-errno/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OG6Z52/error/from-errno/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OG6Z52/error/from-errno/.dirs/system-config1:/tmp/test_error_OG6Z52/error/from-errno/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OG6Z52/error/from-errno/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OG6Z52/error/from-errno/.dirs/system-data1:/tmp/test_error_OG6Z52/error/from-errno/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OG6Z52/error/from-errno/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OG6Z52/error/from-errno/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OG6Z52/error/from-errno/.dirs/runtime 739s ok 1 /error/from-errno 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/system-config1:/tmp/test_error_OG6Z52/error/from-file-error/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/system-data1:/tmp/test_error_OG6Z52/error/from-file-error/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OG6Z52/error/from-file-error/.dirs/runtime 739s ok 2 /error/from-file-error 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/system-config1:/tmp/test_error_OG6Z52/error/from-win32-error/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/system-data1:/tmp/test_error_OG6Z52/error/from-win32-error/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_OG6Z52/error/from-win32-error/.dirs/runtime 739s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 739s # End of error tests 739s ok - glib/error.test 739s # Running test: glib/buffered-output-stream.test 739s TAP version 14 739s # random seed: R02S50f602e8a0cdc0f74aca4371aa6fb840 739s 1..5 739s # Start of buffered-output-stream tests 739s ok 1 /buffered-output-stream/write 739s ok 2 /buffered-output-stream/grow 739s ok 3 /buffered-output-stream/seek 739s ok 4 /buffered-output-stream/truncate 739s # End of buffered-output-stream tests 739s # Start of filter-output-stream tests 739s ok 5 /filter-output-stream/close 739s # End of filter-output-stream tests 739s ok - glib/buffered-output-stream.test 739s # Running test: glib/atomic.test 739s TAP version 14 739s # random seed: R02S17218c4d4da62679d13ca310b00a3ddb 739s 1..2 739s # Start of atomic tests 739s ok 1 /atomic/types 739s ok 2 /atomic/threaded 739s # End of atomic tests 739s ok - glib/atomic.test 739s # Running test: glib/memory-input-stream.test 739s TAP version 14 739s # random seed: R02S8abee5972f56d1f0280b9eb77ad3e612 739s 1..6 739s # Start of memory-input-stream tests 739s ok 1 /memory-input-stream/read-chunks 739s ok 2 /memory-input-stream/async 739s ok 3 /memory-input-stream/seek 739s ok 4 /memory-input-stream/truncate 739s ok 5 /memory-input-stream/read-bytes 739s ok 6 /memory-input-stream/from-bytes 739s # End of memory-input-stream tests 739s ok - glib/memory-input-stream.test 739s # Running test: glib/type.test 739s TAP version 14 739s # random seed: R02Sd1614db76f017a3a145d9eaf48a3cebd 739s 1..6 739s # Start of type tests 739s ok 1 /type/registration-serial 739s ok 2 /type/interface-prerequisite 739s ok 3 /type/interface-check 739s ok 4 /type/next-base 739s ok 5 /type/is-a 739s # Invalid types can?t be queried. 739s # Unclassed types can?t be queried. 739s ok 6 /type/query 739s # End of type tests 739s ok - glib/type.test 739s # Running test: glib/atomic-c-17.test 739s TAP version 14 739s # random seed: R02Sb5812519145ad55d1789e2066b244453 739s 1..2 739s # Start of atomic tests 739s ok 1 /atomic/types 739s ok 2 /atomic/threaded 739s # End of atomic tests 739s ok - glib/atomic-c-17.test 739s # Running test: glib/cxx.test 739s TAP version 14 739s # random seed: R02S3d73d07779338ca019b99f535bc81a87 739s 1..2 739s # Start of gtask tests 739s # 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. 739s ok 1 /gtask/name 739s # Start of name tests 739s # 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. 739s ok 2 /gtask/name/macro-wrapper 739s # End of name tests 739s # End of gtask tests 739s ok - glib/cxx.test 739s # Running test: glib/macros-c-11.test 739s ok - glib/macros-c-11.test 739s TAP version 14 739s # random seed: R02S043f15d96a0d8f3bae5cc9e7519de0bc 739s 1..4 739s # Start of C tests 739s ok 1 /C/standard-11 739s # End of C tests 739s # Start of alignof tests 739s ok 2 /alignof/fallback 739s # End of alignof tests 739s # Start of assert tests 739s ok 3 /assert/static 739s # End of assert tests 739s # Start of struct tests 739s ok 4 /struct/sizeof_member 739s # End of struct tests 739s # Running test: glib/spawn-path-search.test 739s TAP version 14 739s # random seed: R02Sc333a290db7119fafda83dc153aa6433 739s 1..7 739s # Start of spawn tests 739s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 739s # 739s # this is spawn-test-helper from glib/tests 739s # 739s ok 1 /spawn/do-not-search 739s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 739s # 739s # this is spawn-test-helper from path-test-subdir 739s # 739s ok 2 /spawn/search-path 739s # /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. 739s # 739s # this is spawn-test-helper from path-test-subdir 739s # 739s ok 3 /spawn/search-path-from-envp 739s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 739s # 739s # this is spawn-test-helper from path-test-subdir 739s # 739s ok 4 /spawn/search-path-ambiguous 739s # 739s # this is spawn-test-helper from path-test-subdir 739s # 739s ok 5 /spawn/search-path-heap-allocation 739s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 739s # 739s # this is spawn-test-helper from glib/tests 739s # 739s ok 6 /spawn/search-path-fallback-in-environ 739s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 739s # 739s # this is spawn-test-helper from glib/tests 739s # 739s ok 7 /spawn/search-path-fallback-in-envp 739s # End of spawn tests 739s ok - glib/spawn-path-search.test 739s # Running test: glib/references.test 739s ok - glib/references.test 739s TAP version 14 739s # random seed: R02S82c3f2b38734f6b64f05d051f635b801 739s 1..1 739s # Start of gobject tests 739s ok 1 /gobject/references 739s # End of gobject tests 739s # Running test: glib/union-info.test 739s ok - glib/union-info.test 739s TAP version 14 739s # random seed: R02S1d375626ab8fa4f6322be8258835b355 739s 1..2 739s # Start of union-info tests 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/system-config1:/tmp/test_union-info_6HCT52/union-info/basic/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/system-data1:/tmp/test_union-info_6HCT52/union-info/basic/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_6HCT52/union-info/basic/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s # /union-info/basic summary: Test basic properties of GIUnionInfo 739s ok 1 /union-info/basic 739s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/home 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/cache 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/system-config1:/tmp/test_union-info_6HCT52/union-info/methods/.dirs/system-config2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/config 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/system-data1:/tmp/test_union-info_6HCT52/union-info/methods/.dirs/system-data2 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/data 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/state 739s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_6HCT52/union-info/methods/.dirs/runtime 739s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 739s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 739s ok 2 /union-info/methods 739s # End of union-info tests 739s # Running test: glib/autoptr-gio.test 739s ok - glib/autoptr-gio.test 739s TAP version 14 739s # random seed: R02Sf5c040599523d216c5ac20588f57eec2 739s 1..1 739s # Start of autoptr tests 739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 739s ok 1 /autoptr/autoptr 739s # End of autoptr tests 739s # Running test: glib/regex.test 739s TAP version 14 739s # random seed: R02S9a3e37c3f118e6d3635eed3bfe6793f2 739s 1..848 739s # Start of regex tests 739s ok 1 /regex/properties 739s ok 2 /regex/class 739s ok 3 /regex/lookahead 739s ok 4 /regex/lookbehind 739s ok 5 /regex/subpattern 739s ok 6 /regex/condition 739s ok 7 /regex/recursion 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 739s ok 8 /regex/multiline 739s ok 9 /regex/explicit-crlf 739s ok 10 /regex/max-lookbehind 739s ok 11 /regex/compile-errors 739s ok 12 /regex/jit-unsupported-matching 739s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 739s ok 13 /regex/unmatched-named-subpattern 739s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 739s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 739s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 739s ok 14 /regex/compiled-regex-after-jit-failure 739s # Start of new tests 739s ok 15 /regex/new/1 739s ok 16 /regex/new/2 739s ok 17 /regex/new/3 739s ok 18 /regex/new/4 739s ok 19 /regex/new/5 739s ok 20 /regex/new/6 739s ok 21 /regex/new/7 739s ok 22 /regex/new/8 739s ok 23 /regex/new/9 739s ok 24 /regex/new/10 739s ok 25 /regex/new/11 739s ok 26 /regex/new/12 739s ok 27 /regex/new/13 739s ok 28 /regex/new/14 739s ok 29 /regex/new/15 739s ok 30 /regex/new/16 739s ok 31 /regex/new/17 739s ok 32 /regex/new/18 739s ok 33 /regex/new/19 739s ok 34 /regex/new/71 739s ok 35 /regex/new/80 739s ok 36 /regex/new/82 739s # End of new tests 739s # Start of new-check-flags tests 739s ok 37 /regex/new-check-flags/20 739s ok 38 /regex/new-check-flags/21 739s ok 39 /regex/new-check-flags/22 739s ok 40 /regex/new-check-flags/23 739s ok 41 /regex/new-check-flags/24 739s ok 42 /regex/new-check-flags/25 739s ok 43 /regex/new-check-flags/26 739s ok 44 /regex/new-check-flags/27 739s ok 45 /regex/new-check-flags/28 739s ok 46 /regex/new-check-flags/29 739s ok 47 /regex/new-check-flags/30 739s ok 48 /regex/new-check-flags/31 739s ok 49 /regex/new-check-flags/32 739s ok 50 /regex/new-check-flags/33 739s ok 51 /regex/new-check-flags/34 739s ok 52 /regex/new-check-flags/35 739s ok 53 /regex/new-check-flags/36 739s # End of new-check-flags tests 739s # Start of new-fail tests 739s ok 54 /regex/new-fail/37 739s ok 55 /regex/new-fail/38 739s ok 56 /regex/new-fail/39 739s ok 57 /regex/new-fail/40 739s ok 58 /regex/new-fail/41 739s ok 59 /regex/new-fail/42 739s ok 60 /regex/new-fail/43 739s ok 61 /regex/new-fail/44 739s ok 62 /regex/new-fail/45 739s ok 63 /regex/new-fail/46 739s ok 64 /regex/new-fail/47 739s ok 65 /regex/new-fail/48 739s ok 66 /regex/new-fail/49 739s ok 67 /regex/new-fail/50 739s ok 68 /regex/new-fail/51 739s ok 69 /regex/new-fail/52 739s ok 70 /regex/new-fail/53 739s ok 71 /regex/new-fail/54 739s ok 72 /regex/new-fail/55 739s ok 73 /regex/new-fail/56 739s ok 74 /regex/new-fail/57 739s ok 75 /regex/new-fail/58 739s ok 76 /regex/new-fail/59 739s ok 77 /regex/new-fail/60 739s ok 78 /regex/new-fail/61 739s ok 79 /regex/new-fail/62 739s ok 80 /regex/new-fail/63 739s ok 81 /regex/new-fail/64 739s ok 82 /regex/new-fail/65 739s ok 83 /regex/new-fail/66 739s ok 84 /regex/new-fail/67 739s ok 85 /regex/new-fail/68 739s ok 86 /regex/new-fail/69 739s ok 87 /regex/new-fail/70 739s ok 88 /regex/new-fail/72 739s ok 89 /regex/new-fail/73 739s ok 90 /regex/new-fail/74 739s ok 91 /regex/new-fail/75 739s ok 92 /regex/new-fail/76 739s ok 93 /regex/new-fail/77 739s ok 94 /regex/new-fail/78 739s ok 95 /regex/new-fail/79 739s ok 96 /regex/new-fail/81 739s ok 97 /regex/new-fail/83 739s ok 98 /regex/new-fail/84 739s ok 99 /regex/new-fail/85 739s ok 100 /regex/new-fail/86 739s ok 101 /regex/new-fail/87 739s ok 102 /regex/new-fail/88 739s ok 103 /regex/new-fail/89 739s ok 104 /regex/new-fail/90 739s ok 105 /regex/new-fail/91 739s # End of new-fail tests 739s # Start of match-simple tests 739s ok 106 /regex/match-simple/92 739s ok 107 /regex/match-simple/93 739s ok 108 /regex/match-simple/94 739s ok 109 /regex/match-simple/95 739s ok 110 /regex/match-simple/96 739s ok 111 /regex/match-simple/97 739s ok 112 /regex/match-simple/98 739s ok 113 /regex/match-simple/99 739s ok 114 /regex/match-simple/100 739s ok 115 /regex/match-simple/101 739s ok 116 /regex/match-simple/102 739s ok 117 /regex/match-simple/103 739s ok 118 /regex/match-simple/104 739s ok 119 /regex/match-simple/105 739s ok 120 /regex/match-simple/106 739s ok 121 /regex/match-simple/107 739s ok 122 /regex/match-simple/108 739s ok 123 /regex/match-simple/109 739s ok 124 /regex/match-simple/110 739s ok 125 /regex/match-simple/111 739s ok 126 /regex/match-simple/112 739s ok 127 /regex/match-simple/113 739s ok 128 /regex/match-simple/114 739s ok 129 /regex/match-simple/115 739s ok 130 /regex/match-simple/116 739s ok 131 /regex/match-simple/117 739s ok 132 /regex/match-simple/118 739s ok 133 /regex/match-simple/119 739s ok 134 /regex/match-simple/120 739s ok 135 /regex/match-simple/121 739s ok 136 /regex/match-simple/122 739s ok 137 /regex/match-simple/123 739s ok 138 /regex/match-simple/124 739s ok 139 /regex/match-simple/125 739s ok 140 /regex/match-simple/126 739s ok 141 /regex/match-simple/127 739s ok 142 /regex/match-simple/128 739s ok 143 /regex/match-simple/129 739s ok 144 /regex/match-simple/130 739s ok 145 /regex/match-simple/131 739s ok 146 /regex/match-simple/132 739s ok 147 /regex/match-simple/133 739s ok 148 /regex/match-simple/134 739s ok 149 /regex/match-simple/135 739s ok 150 /regex/match-simple/136 739s ok 151 /regex/match-simple/137 739s ok 152 /regex/match-simple/138 739s ok 153 /regex/match-simple/139 739s ok 154 /regex/match-simple/140 739s ok 155 /regex/match-simple/141 739s ok 156 /regex/match-simple/142 739s ok 157 /regex/match-simple/143 739s ok 158 /regex/match-simple/144 739s ok 159 /regex/match-simple/145 739s ok 160 /regex/match-simple/146 739s ok 161 /regex/match-simple/147 739s ok 162 /regex/match-simple/148 739s ok 163 /regex/match-simple/149 739s ok 164 /regex/match-simple/150 739s ok 165 /regex/match-simple/151 739s ok 166 /regex/match-simple/152 739s ok 167 /regex/match-simple/153 739s ok 168 /regex/match-simple/154 739s ok 169 /regex/match-simple/155 739s ok 170 /regex/match-simple/156 739s ok 171 /regex/match-simple/157 739s ok 172 /regex/match-simple/158 739s ok 173 /regex/match-simple/159 739s ok 174 /regex/match-simple/160 739s ok 175 /regex/match-simple/161 739s ok 176 /regex/match-simple/162 739s ok 177 /regex/match-simple/163 739s ok 178 /regex/match-simple/164 739s # End of match-simple tests 739s # Start of match-simple-optimized tests 739s ok 179 /regex/match-simple-optimized/92 739s ok 180 /regex/match-simple-optimized/93 739s ok 181 /regex/match-simple-optimized/94 739s ok 182 /regex/match-simple-optimized/95 739s ok 183 /regex/match-simple-optimized/96 739s ok 184 /regex/match-simple-optimized/97 739s ok 185 /regex/match-simple-optimized/98 739s ok 186 /regex/match-simple-optimized/99 739s ok 187 /regex/match-simple-optimized/100 739s ok 188 /regex/match-simple-optimized/101 739s ok 189 /regex/match-simple-optimized/102 739s ok 190 /regex/match-simple-optimized/103 739s ok 191 /regex/match-simple-optimized/104 739s ok 192 /regex/match-simple-optimized/105 739s ok 193 /regex/match-simple-optimized/106 739s ok 194 /regex/match-simple-optimized/107 739s ok 195 /regex/match-simple-optimized/108 739s ok 196 /regex/match-simple-optimized/109 739s ok 197 /regex/match-simple-optimized/110 739s ok 198 /regex/match-simple-optimized/111 739s ok 199 /regex/match-simple-optimized/112 739s ok 200 /regex/match-simple-optimized/113 739s ok 201 /regex/match-simple-optimized/114 739s ok 202 /regex/match-simple-optimized/115 739s ok 203 /regex/match-simple-optimized/116 739s ok 204 /regex/match-simple-optimized/117 739s ok 205 /regex/match-simple-optimized/118 739s ok 206 /regex/match-simple-optimized/119 739s ok 207 /regex/match-simple-optimized/120 739s ok 208 /regex/match-simple-optimized/121 739s ok 209 /regex/match-simple-optimized/122 739s ok 210 /regex/match-simple-optimized/123 739s ok 211 /regex/match-simple-optimized/124 739s ok 212 /regex/match-simple-optimized/125 739s ok 213 /regex/match-simple-optimized/126 739s ok 214 /regex/match-simple-optimized/127 739s ok 215 /regex/match-simple-optimized/128 739s ok 216 /regex/match-simple-optimized/129 739s ok 217 /regex/match-simple-optimized/130 739s ok 218 /regex/match-simple-optimized/131 739s ok 219 /regex/match-simple-optimized/132 739s ok 220 /regex/match-simple-optimized/133 739s ok 221 /regex/match-simple-optimized/134 739s ok 222 /regex/match-simple-optimized/135 739s ok 223 /regex/match-simple-optimized/136 739s ok 224 /regex/match-simple-optimized/137 739s ok 225 /regex/match-simple-optimized/138 739s ok 226 /regex/match-simple-optimized/139 739s ok 227 /regex/match-simple-optimized/140 739s ok 228 /regex/match-simple-optimized/141 739s ok 229 /regex/match-simple-optimized/142 739s ok 230 /regex/match-simple-optimized/143 739s ok 231 /regex/match-simple-optimized/144 739s ok 232 /regex/match-simple-optimized/145 739s ok 233 /regex/match-simple-optimized/146 739s ok 234 /regex/match-simple-optimized/147 739s ok 235 /regex/match-simple-optimized/148 739s ok 236 /regex/match-simple-optimized/149 739s ok 237 /regex/match-simple-optimized/150 739s ok 238 /regex/match-simple-optimized/151 739s ok 239 /regex/match-simple-optimized/152 739s ok 240 /regex/match-simple-optimized/153 739s ok 241 /regex/match-simple-optimized/154 739s ok 242 /regex/match-simple-optimized/155 739s ok 243 /regex/match-simple-optimized/156 739s ok 244 /regex/match-simple-optimized/157 739s ok 245 /regex/match-simple-optimized/158 739s ok 246 /regex/match-simple-optimized/159 739s ok 247 /regex/match-simple-optimized/160 739s ok 248 /regex/match-simple-optimized/161 739s ok 249 /regex/match-simple-optimized/162 739s ok 250 /regex/match-simple-optimized/163 739s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 739s ok 251 /regex/match-simple-optimized/164 739s # End of match-simple-optimized tests 739s # Start of match tests 739s ok 252 /regex/match/165 739s ok 253 /regex/match/166 739s ok 254 /regex/match/167 739s ok 255 /regex/match/168 739s ok 256 /regex/match/169 739s ok 257 /regex/match/170 739s ok 258 /regex/match/171 739s ok 259 /regex/match/172 739s ok 260 /regex/match/173 739s ok 261 /regex/match/174 739s ok 262 /regex/match/175 739s ok 263 /regex/match/176 739s ok 264 /regex/match/177 739s ok 265 /regex/match/178 739s ok 266 /regex/match/179 739s ok 267 /regex/match/180 739s ok 268 /regex/match/181 739s ok 269 /regex/match/182 739s ok 270 /regex/match/183 739s ok 271 /regex/match/184 739s ok 272 /regex/match/185 739s ok 273 /regex/match/186 739s ok 274 /regex/match/187 739s ok 275 /regex/match/188 739s ok 276 /regex/match/189 739s ok 277 /regex/match/190 739s ok 278 /regex/match/191 739s ok 279 /regex/match/192 739s ok 280 /regex/match/193 739s ok 281 /regex/match/194 739s ok 282 /regex/match/195 739s ok 283 /regex/match/196 739s ok 284 /regex/match/197 739s ok 285 /regex/match/198 739s ok 286 /regex/match/199 739s ok 287 /regex/match/200 739s ok 288 /regex/match/201 739s ok 289 /regex/match/202 739s ok 290 /regex/match/203 739s ok 291 /regex/match/204 739s ok 292 /regex/match/205 739s ok 293 /regex/match/206 739s ok 294 /regex/match/207 739s ok 295 /regex/match/208 739s ok 296 /regex/match/209 739s ok 297 /regex/match/210 739s ok 298 /regex/match/211 739s ok 299 /regex/match/212 739s ok 300 /regex/match/213 739s ok 301 /regex/match/214 739s ok 302 /regex/match/215 739s ok 303 /regex/match/216 739s ok 304 /regex/match/217 739s ok 305 /regex/match/218 739s ok 306 /regex/match/219 739s ok 307 /regex/match/220 739s ok 308 /regex/match/221 739s ok 309 /regex/match/222 739s ok 310 /regex/match/223 739s ok 311 /regex/match/224 739s ok 312 /regex/match/225 739s ok 313 /regex/match/226 739s ok 314 /regex/match/227 739s ok 315 /regex/match/228 739s ok 316 /regex/match/229 739s ok 317 /regex/match/230 739s ok 318 /regex/match/231 739s ok 319 /regex/match/232 739s ok 320 /regex/match/233 739s ok 321 /regex/match/234 739s ok 322 /regex/match/235 739s ok 323 /regex/match/236 739s ok 324 /regex/match/237 739s ok 325 /regex/match/238 739s ok 326 /regex/match/239 739s ok 327 /regex/match/240 739s ok 328 /regex/match/241 739s ok 329 /regex/match/242 739s ok 330 /regex/match/243 739s ok 331 /regex/match/244 739s ok 332 /regex/match/245 739s ok 333 /regex/match/246 739s ok 334 /regex/match/partial281 739s ok 335 /regex/match/partial282 739s ok 336 /regex/match/partial283 739s ok 337 /regex/match/partial284 739s ok 338 /regex/match/partial285 739s ok 339 /regex/match/partial286 739s ok 340 /regex/match/partial287 739s ok 341 /regex/match/partial288 739s ok 342 /regex/match/partial289 739s ok 343 /regex/match/partial290 739s ok 344 /regex/match/partial291 739s ok 345 /regex/match/partial292 739s ok 346 /regex/match/partial293 739s ok 347 /regex/match/partial294 739s ok 348 /regex/match/partial295 739s ok 349 /regex/match/partial296 739s ok 350 /regex/match/partial297 739s ok 351 /regex/match/partial298 739s ok 352 /regex/match/partial299 739s ok 353 /regex/match/partial300 739s ok 354 /regex/match/partial301 739s ok 355 /regex/match/partial302 739s # Start of next0 tests 739s ok 356 /regex/match/next0/247 739s ok 357 /regex/match/next0/248 739s ok 358 /regex/match/next0/249 739s ok 359 /regex/match/next0/250 739s # End of next0 tests 739s # Start of next1 tests 739s ok 360 /regex/match/next1/251 739s ok 361 /regex/match/next1/252 739s ok 362 /regex/match/next1/253 739s ok 363 /regex/match/next1/254 739s ok 364 /regex/match/next1/255 739s # End of next1 tests 739s # Start of next2 tests 739s ok 365 /regex/match/next2/256 739s ok 366 /regex/match/next2/257 739s ok 367 /regex/match/next2/258 739s ok 368 /regex/match/next2/259 739s ok 369 /regex/match/next2/260 739s ok 370 /regex/match/next2/261 739s ok 371 /regex/match/next2/262 739s ok 372 /regex/match/next2/263 739s # End of next2 tests 739s # Start of next3 tests 739s ok 373 /regex/match/next3/264 739s ok 374 /regex/match/next3/265 739s ok 375 /regex/match/next3/266 739s ok 376 /regex/match/next3/267 739s ok 377 /regex/match/next3/268 739s ok 378 /regex/match/next3/269 739s # End of next3 tests 739s # Start of next4 tests 739s ok 379 /regex/match/next4/270 739s # End of next4 tests 739s # Start of count tests 739s ok 380 /regex/match/count/271 739s ok 381 /regex/match/count/272 739s ok 382 /regex/match/count/273 739s ok 383 /regex/match/count/274 739s ok 384 /regex/match/count/275 739s ok 385 /regex/match/count/276 739s ok 386 /regex/match/count/277 739s ok 387 /regex/match/count/278 739s ok 388 /regex/match/count/279 739s ok 389 /regex/match/count/280 739s # End of count tests 739s # Start of count-optimized tests 739s ok 390 /regex/match/count-optimized/271 739s ok 391 /regex/match/count-optimized/272 739s ok 392 /regex/match/count-optimized/273 739s ok 393 /regex/match/count-optimized/274 739s ok 394 /regex/match/count-optimized/275 739s ok 395 /regex/match/count-optimized/276 739s ok 396 /regex/match/count-optimized/277 739s ok 397 /regex/match/count-optimized/278 739s ok 398 /regex/match/count-optimized/279 739s ok 399 /regex/match/count-optimized/280 739s # End of count-optimized tests 739s # Start of partial-optimized tests 739s ok 400 /regex/match/partial-optimized/281 739s ok 401 /regex/match/partial-optimized/282 739s ok 402 /regex/match/partial-optimized/283 739s ok 403 /regex/match/partial-optimized/284 739s ok 404 /regex/match/partial-optimized/285 739s ok 405 /regex/match/partial-optimized/286 739s ok 406 /regex/match/partial-optimized/287 739s ok 407 /regex/match/partial-optimized/288 739s ok 408 /regex/match/partial-optimized/289 739s ok 409 /regex/match/partial-optimized/290 739s ok 410 /regex/match/partial-optimized/291 739s ok 411 /regex/match/partial-optimized/292 739s ok 412 /regex/match/partial-optimized/293 739s ok 413 /regex/match/partial-optimized/294 739s ok 414 /regex/match/partial-optimized/295 739s ok 415 /regex/match/partial-optimized/296 739s ok 416 /regex/match/partial-optimized/297 739s ok 417 /regex/match/partial-optimized/298 739s ok 418 /regex/match/partial-optimized/299 739s ok 419 /regex/match/partial-optimized/300 739s ok 420 /regex/match/partial-optimized/301 739s ok 421 /regex/match/partial-optimized/302 739s # End of partial-optimized tests 739s # Start of subpattern tests 739s ok 422 /regex/match/subpattern/303 739s ok 423 /regex/match/subpattern/304 739s ok 424 /regex/match/subpattern/305 739s ok 425 /regex/match/subpattern/306 739s ok 426 /regex/match/subpattern/307 739s ok 427 /regex/match/subpattern/308 739s ok 428 /regex/match/subpattern/309 739s ok 429 /regex/match/subpattern/310 739s ok 430 /regex/match/subpattern/311 739s ok 431 /regex/match/subpattern/312 739s ok 432 /regex/match/subpattern/313 739s ok 433 /regex/match/subpattern/314 739s ok 434 /regex/match/subpattern/315 739s # Start of named tests 739s # Start of dupnames tests 739s ok 435 /regex/match/subpattern/named/dupnames/325 739s ok 436 /regex/match/subpattern/named/dupnames/326 739s ok 437 /regex/match/subpattern/named/dupnames/327 739s ok 438 /regex/match/subpattern/named/dupnames/328 739s ok 439 /regex/match/subpattern/named/dupnames/329 739s # End of dupnames tests 739s # End of named tests 739s # End of subpattern tests 739s # Start of subpattern-optimized tests 739s ok 440 /regex/match/subpattern-optimized/303 739s ok 441 /regex/match/subpattern-optimized/304 739s ok 442 /regex/match/subpattern-optimized/305 739s ok 443 /regex/match/subpattern-optimized/306 739s ok 444 /regex/match/subpattern-optimized/307 739s ok 445 /regex/match/subpattern-optimized/308 739s ok 446 /regex/match/subpattern-optimized/309 739s ok 447 /regex/match/subpattern-optimized/310 739s ok 448 /regex/match/subpattern-optimized/311 739s ok 449 /regex/match/subpattern-optimized/312 739s ok 450 /regex/match/subpattern-optimized/313 739s ok 451 /regex/match/subpattern-optimized/314 739s ok 452 /regex/match/subpattern-optimized/315 739s # End of subpattern-optimized tests 739s # Start of named tests 739s # Start of subpattern tests 739s ok 453 /regex/match/named/subpattern/316 739s ok 454 /regex/match/named/subpattern/317 739s ok 455 /regex/match/named/subpattern/318 739s ok 456 /regex/match/named/subpattern/319 739s ok 457 /regex/match/named/subpattern/320 739s ok 458 /regex/match/named/subpattern/321 739s ok 459 /regex/match/named/subpattern/322 739s ok 460 /regex/match/named/subpattern/323 739s ok 461 /regex/match/named/subpattern/324 739s ok 462 /regex/match/named/subpattern/330 739s ok 463 /regex/match/named/subpattern/331 739s ok 464 /regex/match/named/subpattern/332 739s ok 465 /regex/match/named/subpattern/333 739s ok 466 /regex/match/named/subpattern/334 739s # End of subpattern tests 739s # End of named tests 739s # End of match tests 739s # Start of match-optimized tests 739s ok 467 /regex/match-optimized/165 739s ok 468 /regex/match-optimized/166 739s ok 469 /regex/match-optimized/167 739s ok 470 /regex/match-optimized/168 739s ok 471 /regex/match-optimized/169 739s ok 472 /regex/match-optimized/170 739s ok 473 /regex/match-optimized/171 739s ok 474 /regex/match-optimized/172 739s ok 475 /regex/match-optimized/173 739s ok 476 /regex/match-optimized/174 739s ok 477 /regex/match-optimized/175 739s ok 478 /regex/match-optimized/176 739s ok 479 /regex/match-optimized/177 739s ok 480 /regex/match-optimized/178 739s ok 481 /regex/match-optimized/179 739s ok 482 /regex/match-optimized/180 739s ok 483 /regex/match-optimized/181 739s ok 484 /regex/match-optimized/182 739s ok 485 /regex/match-optimized/183 739s ok 486 /regex/match-optimized/184 739s ok 487 /regex/match-optimized/185 739s ok 488 /regex/match-optimized/186 739s ok 489 /regex/match-optimized/187 739s ok 490 /regex/match-optimized/188 739s ok 491 /regex/match-optimized/189 739s ok 492 /regex/match-optimized/190 739s ok 493 /regex/match-optimized/191 739s ok 494 /regex/match-optimized/192 739s ok 495 /regex/match-optimized/193 739s ok 496 /regex/match-optimized/194 739s ok 497 /regex/match-optimized/195 739s ok 498 /regex/match-optimized/196 739s ok 499 /regex/match-optimized/197 739s ok 500 /regex/match-optimized/198 739s ok 501 /regex/match-optimized/199 739s ok 502 /regex/match-optimized/200 739s ok 503 /regex/match-optimized/201 739s ok 504 /regex/match-optimized/202 739s ok 505 /regex/match-optimized/203 739s ok 506 /regex/match-optimized/204 739s ok 507 /regex/match-optimized/205 739s ok 508 /regex/match-optimized/206 739s ok 509 /regex/match-optimized/207 739s ok 510 /regex/match-optimized/208 739s ok 511 /regex/match-optimized/209 739s ok 512 /regex/match-optimized/210 739s ok 513 /regex/match-optimized/211 739s ok 514 /regex/match-optimized/212 739s ok 515 /regex/match-optimized/213 739s ok 516 /regex/match-optimized/214 739s ok 517 /regex/match-optimized/215 739s ok 518 /regex/match-optimized/216 739s ok 519 /regex/match-optimized/217 739s ok 520 /regex/match-optimized/218 739s ok 521 /regex/match-optimized/219 739s ok 522 /regex/match-optimized/220 739s ok 523 /regex/match-optimized/221 739s ok 524 /regex/match-optimized/222 739s ok 525 /regex/match-optimized/223 739s ok 526 /regex/match-optimized/224 739s ok 527 /regex/match-optimized/225 739s ok 528 /regex/match-optimized/226 739s ok 529 /regex/match-optimized/227 739s ok 530 /regex/match-optimized/228 739s ok 531 /regex/match-optimized/229 739s ok 532 /regex/match-optimized/230 739s ok 533 /regex/match-optimized/231 739s ok 534 /regex/match-optimized/232 739s ok 535 /regex/match-optimized/233 739s ok 536 /regex/match-optimized/234 739s ok 537 /regex/match-optimized/235 739s ok 538 /regex/match-optimized/236 739s ok 539 /regex/match-optimized/237 739s ok 540 /regex/match-optimized/238 739s ok 541 /regex/match-optimized/239 739s ok 542 /regex/match-optimized/240 739s ok 543 /regex/match-optimized/241 739s ok 544 /regex/match-optimized/242 739s ok 545 /regex/match-optimized/243 739s ok 546 /regex/match-optimized/244 739s ok 547 /regex/match-optimized/245 739s ok 548 /regex/match-optimized/246 739s # End of match-optimized tests 739s # Start of fetch-all0 tests 739s ok 549 /regex/fetch-all0/335 739s ok 550 /regex/fetch-all0/336 739s # End of fetch-all0 tests 739s # Start of fetch-all1 tests 739s ok 551 /regex/fetch-all1/337 739s ok 552 /regex/fetch-all1/338 739s ok 553 /regex/fetch-all1/339 739s # End of fetch-all1 tests 739s # Start of fetch-all2 tests 739s ok 554 /regex/fetch-all2/340 739s ok 555 /regex/fetch-all2/341 739s ok 556 /regex/fetch-all2/342 739s # End of fetch-all2 tests 739s # Start of fetch-all3 tests 739s ok 557 /regex/fetch-all3/343 739s ok 558 /regex/fetch-all3/344 739s ok 559 /regex/fetch-all3/345 739s ok 560 /regex/fetch-all3/346 739s ok 561 /regex/fetch-all3/347 739s # End of fetch-all3 tests 739s # Start of split tests 739s # Start of simple0 tests 739s ok 562 /regex/split/simple0/348 739s ok 563 /regex/split/simple0/349 739s ok 564 /regex/split/simple0/364 739s ok 565 /regex/split/simple0/365 739s # End of simple0 tests 739s # Start of simple1 tests 739s ok 566 /regex/split/simple1/350 739s ok 567 /regex/split/simple1/351 739s # End of simple1 tests 739s # Start of simple2 tests 739s ok 568 /regex/split/simple2/352 739s ok 569 /regex/split/simple2/358 739s ok 570 /regex/split/simple2/360 739s # End of simple2 tests 739s # Start of simple3 tests 739s ok 571 /regex/split/simple3/353 739s ok 572 /regex/split/simple3/354 739s ok 573 /regex/split/simple3/355 739s ok 574 /regex/split/simple3/356 739s ok 575 /regex/split/simple3/357 739s ok 576 /regex/split/simple3/359 739s ok 577 /regex/split/simple3/361 739s ok 578 /regex/split/simple3/362 739s ok 579 /regex/split/simple3/363 739s # End of simple3 tests 739s # End of split tests 739s # Start of split0 tests 739s ok 580 /regex/split0/366 739s ok 581 /regex/split0/368 739s # End of split0 tests 739s # Start of full-split0 tests 739s ok 582 /regex/full-split0/367 739s ok 583 /regex/full-split0/369 739s ok 584 /regex/full-split0/370 739s ok 585 /regex/full-split0/371 739s ok 586 /regex/full-split0/372 739s # End of full-split0 tests 739s # Start of split1 tests 739s ok 587 /regex/split1/373 739s ok 588 /regex/split1/376 739s # End of split1 tests 739s # Start of full-split1 tests 739s ok 589 /regex/full-split1/374 739s ok 590 /regex/full-split1/375 739s ok 591 /regex/full-split1/377 739s ok 592 /regex/full-split1/378 739s ok 593 /regex/full-split1/404 739s # End of full-split1 tests 739s # Start of split2 tests 739s ok 594 /regex/split2/379 739s ok 595 /regex/split2/383 739s ok 596 /regex/split2/395 739s # End of split2 tests 739s # Start of full-split2 tests 739s ok 597 /regex/full-split2/380 739s ok 598 /regex/full-split2/381 739s ok 599 /regex/full-split2/382 739s ok 600 /regex/full-split2/384 739s ok 601 /regex/full-split2/396 739s ok 602 /regex/full-split2/399 739s ok 603 /regex/full-split2/405 739s # End of full-split2 tests 739s # Start of split3 tests 739s ok 604 /regex/split3/385 739s ok 605 /regex/split3/387 739s ok 606 /regex/split3/389 739s ok 607 /regex/split3/391 739s ok 608 /regex/split3/393 739s ok 609 /regex/split3/397 739s ok 610 /regex/split3/400 739s ok 611 /regex/split3/402 739s # End of split3 tests 739s # Start of full-split3 tests 739s ok 612 /regex/full-split3/386 739s ok 613 /regex/full-split3/388 739s ok 614 /regex/full-split3/390 739s ok 615 /regex/full-split3/392 739s ok 616 /regex/full-split3/394 739s ok 617 /regex/full-split3/398 739s ok 618 /regex/full-split3/401 739s ok 619 /regex/full-split3/403 739s ok 620 /regex/full-split3/406 739s ok 621 /regex/full-split3/407 739s # End of full-split3 tests 739s # Start of check-repacement tests 739s ok 622 /regex/check-repacement/408 739s ok 623 /regex/check-repacement/409 739s ok 624 /regex/check-repacement/410 739s ok 625 /regex/check-repacement/411 739s ok 626 /regex/check-repacement/412 739s ok 627 /regex/check-repacement/413 739s ok 628 /regex/check-repacement/414 739s ok 629 /regex/check-repacement/415 739s # End of check-repacement tests 739s # Start of expand tests 739s ok 630 /regex/expand/416 739s ok 631 /regex/expand/417 739s ok 632 /regex/expand/418 739s ok 633 /regex/expand/419 739s ok 634 /regex/expand/420 739s ok 635 /regex/expand/421 739s ok 636 /regex/expand/422 739s ok 637 /regex/expand/423 739s ok 638 /regex/expand/424 739s ok 639 /regex/expand/425 739s ok 640 /regex/expand/426 739s ok 641 /regex/expand/427 739s ok 642 /regex/expand/428 739s ok 643 /regex/expand/429 739s ok 644 /regex/expand/430 739s ok 645 /regex/expand/431 739s ok 646 /regex/expand/432 739s ok 647 /regex/expand/433 739s ok 648 /regex/expand/434 739s ok 649 /regex/expand/435 739s ok 650 /regex/expand/436 739s ok 651 /regex/expand/437 739s ok 652 /regex/expand/438 739s ok 653 /regex/expand/439 739s ok 654 /regex/expand/440 739s ok 655 /regex/expand/441 739s ok 656 /regex/expand/442 739s ok 657 /regex/expand/443 739s ok 658 /regex/expand/444 739s ok 659 /regex/expand/445 739s ok 660 /regex/expand/446 739s ok 661 /regex/expand/447 739s ok 662 /regex/expand/448 739s ok 663 /regex/expand/449 739s ok 664 /regex/expand/450 739s ok 665 /regex/expand/451 739s ok 666 /regex/expand/452 739s ok 667 /regex/expand/453 739s ok 668 /regex/expand/454 739s ok 669 /regex/expand/455 739s ok 670 /regex/expand/456 739s ok 671 /regex/expand/457 739s ok 672 /regex/expand/458 739s ok 673 /regex/expand/459 739s ok 674 /regex/expand/460 739s ok 675 /regex/expand/461 739s ok 676 /regex/expand/462 739s ok 677 /regex/expand/463 739s ok 678 /regex/expand/464 739s ok 679 /regex/expand/465 739s ok 680 /regex/expand/466 739s ok 681 /regex/expand/467 739s ok 682 /regex/expand/468 739s ok 683 /regex/expand/469 739s ok 684 /regex/expand/470 739s ok 685 /regex/expand/471 739s ok 686 /regex/expand/472 739s ok 687 /regex/expand/473 739s ok 688 /regex/expand/474 739s ok 689 /regex/expand/475 739s ok 690 /regex/expand/476 739s ok 691 /regex/expand/477 739s ok 692 /regex/expand/478 739s ok 693 /regex/expand/479 739s ok 694 /regex/expand/480 739s ok 695 /regex/expand/481 739s # End of expand tests 739s # Start of replace tests 739s ok 696 /regex/replace/482 739s ok 697 /regex/replace/483 739s ok 698 /regex/replace/484 739s ok 699 /regex/replace/485 739s ok 700 /regex/replace/486 739s ok 701 /regex/replace/487 739s ok 702 /regex/replace/488 739s ok 703 /regex/replace/489 739s ok 704 /regex/replace/490 739s ok 705 /regex/replace/491 739s ok 706 /regex/replace/492 739s ok 707 /regex/replace/493 739s ok 708 /regex/replace/494 739s ok 709 /regex/replace/495 739s ok 710 /regex/replace/496 739s ok 711 /regex/replace/497 739s ok 712 /regex/replace/498 739s ok 713 /regex/replace/499 739s ok 714 /regex/replace/500 739s ok 715 /regex/replace/501 739s ok 716 /regex/replace/502 739s ok 717 /regex/replace/503 739s ok 718 /regex/replace/504 739s ok 719 /regex/replace/505 739s ok 720 /regex/replace/506 739s ok 721 /regex/replace/507 739s ok 722 /regex/replace/508 739s ok 723 /regex/replace/509 739s # End of replace tests 739s # Start of replace-optimized tests 739s ok 724 /regex/replace-optimized/482 739s ok 725 /regex/replace-optimized/483 739s ok 726 /regex/replace-optimized/484 739s ok 727 /regex/replace-optimized/485 739s ok 728 /regex/replace-optimized/486 739s ok 729 /regex/replace-optimized/487 739s ok 730 /regex/replace-optimized/488 739s ok 731 /regex/replace-optimized/489 739s ok 732 /regex/replace-optimized/490 739s ok 733 /regex/replace-optimized/491 739s ok 734 /regex/replace-optimized/492 739s ok 735 /regex/replace-optimized/493 739s ok 736 /regex/replace-optimized/494 739s ok 737 /regex/replace-optimized/495 739s ok 738 /regex/replace-optimized/496 739s ok 739 /regex/replace-optimized/497 739s ok 740 /regex/replace-optimized/498 739s ok 741 /regex/replace-optimized/499 739s ok 742 /regex/replace-optimized/500 739s ok 743 /regex/replace-optimized/501 739s ok 744 /regex/replace-optimized/502 739s ok 745 /regex/replace-optimized/503 739s ok 746 /regex/replace-optimized/504 739s ok 747 /regex/replace-optimized/505 739s ok 748 /regex/replace-optimized/506 739s ok 749 /regex/replace-optimized/507 739s ok 750 /regex/replace-optimized/508 739s ok 751 /regex/replace-optimized/509 739s # End of replace-optimized tests 739s # Start of replace-literally tests 739s ok 752 /regex/replace-literally/510 739s ok 753 /regex/replace-literally/511 739s ok 754 /regex/replace-literally/512 739s ok 755 /regex/replace-literally/513 739s ok 756 /regex/replace-literally/514 739s ok 757 /regex/replace-literally/515 739s ok 758 /regex/replace-literally/516 739s ok 759 /regex/replace-literally/517 739s ok 760 /regex/replace-literally/518 739s ok 761 /regex/replace-literally/519 739s ok 762 /regex/replace-literally/520 739s ok 763 /regex/replace-literally/521 739s ok 764 /regex/replace-literally/522 739s ok 765 /regex/replace-literally/523 739s ok 766 /regex/replace-literally/524 739s ok 767 /regex/replace-literally/525 739s ok 768 /regex/replace-literally/526 739s ok 769 /regex/replace-literally/527 739s ok 770 /regex/replace-literally/528 739s ok 771 /regex/replace-literally/529 739s # End of replace-literally tests 739s # Start of string-number tests 739s ok 772 /regex/string-number/530 739s ok 773 /regex/string-number/531 739s ok 774 /regex/string-number/532 739s ok 775 /regex/string-number/533 739s ok 776 /regex/string-number/534 739s ok 777 /regex/string-number/535 739s ok 778 /regex/string-number/536 739s ok 779 /regex/string-number/537 739s ok 780 /regex/string-number/538 739s ok 781 /regex/string-number/539 739s ok 782 /regex/string-number/540 739s ok 783 /regex/string-number/541 739s ok 784 /regex/string-number/542 739s ok 785 /regex/string-number/543 739s ok 786 /regex/string-number/544 739s # End of string-number tests 739s # Start of escape_nul tests 739s ok 787 /regex/escape_nul/545 739s ok 788 /regex/escape_nul/546 739s ok 789 /regex/escape_nul/547 739s ok 790 /regex/escape_nul/548 739s ok 791 /regex/escape_nul/549 739s ok 792 /regex/escape_nul/550 739s ok 793 /regex/escape_nul/551 739s ok 794 /regex/escape_nul/552 739s ok 795 /regex/escape_nul/553 739s ok 796 /regex/escape_nul/554 739s ok 797 /regex/escape_nul/555 739s ok 798 /regex/escape_nul/556 739s ok 799 /regex/escape_nul/557 739s ok 800 /regex/escape_nul/558 739s ok 801 /regex/escape_nul/559 739s # End of escape_nul tests 739s # Start of escape tests 739s ok 802 /regex/escape/560 739s ok 803 /regex/escape/561 739s ok 804 /regex/escape/562 739s ok 805 /regex/escape/563 739s ok 806 /regex/escape/564 739s ok 807 /regex/escape/565 739s ok 808 /regex/escape/566 739s ok 809 /regex/escape/567 739s ok 810 /regex/escape/568 739s ok 811 /regex/escape/569 739s ok 812 /regex/escape/570 739s ok 813 /regex/escape/571 739s ok 814 /regex/escape/572 739s ok 815 /regex/escape/573 739s ok 816 /regex/escape/574 739s ok 817 /regex/escape/575 739s ok 818 /regex/escape/576 739s ok 819 /regex/escape/577 739s # End of escape tests 739s # Start of match-all0 tests 739s ok 820 /regex/match-all0/578 739s ok 821 /regex/match-all0/580 739s # End of match-all0 tests 739s # Start of match-all-full0 tests 739s ok 822 /regex/match-all-full0/579 739s ok 823 /regex/match-all-full0/581 739s ok 824 /regex/match-all-full0/582 739s ok 825 /regex/match-all-full0/583 739s # End of match-all-full0 tests 739s # Start of match-all1 tests 739s ok 826 /regex/match-all1/584 739s ok 827 /regex/match-all1/586 739s ok 828 /regex/match-all1/591 739s # End of match-all1 tests 739s # Start of match-all-full1 tests 739s ok 829 /regex/match-all-full1/585 739s ok 830 /regex/match-all-full1/587 739s ok 831 /regex/match-all-full1/588 739s ok 832 /regex/match-all-full1/589 739s ok 833 /regex/match-all-full1/590 739s ok 834 /regex/match-all-full1/592 739s # End of match-all-full1 tests 739s # Start of match-all2 tests 739s ok 835 /regex/match-all2/593 739s ok 836 /regex/match-all2/595 739s ok 837 /regex/match-all2/597 739s # End of match-all2 tests 739s # Start of match-all-full2 tests 739s ok 838 /regex/match-all-full2/594 739s ok 839 /regex/match-all-full2/596 739s ok 840 /regex/match-all-full2/598 739s # End of match-all-full2 tests 739s # Start of match-all3 tests 739s ok 841 /regex/match-all3/599 739s ok 842 /regex/match-all3/601 739s # End of match-all3 tests 739s # Start of match-all-full3 tests 739s ok 843 /regex/match-all-full3/600 739s ok 844 /regex/match-all-full3/602 739s # End of match-all-full3 tests 739s # Start of match-notempty tests 739s ok 845 /regex/match-notempty/603 739s # End of match-notempty tests 739s # Start of match-notempty-optimized tests 739s ok 846 /regex/match-notempty-optimized/603 739s # End of match-notempty-optimized tests 739s # Start of match-notempty-atstart tests 739s ok 847 /regex/match-notempty-atstart/604 739s # End of match-notempty-atstart tests 739s # Start of match-notempty-atstart-optimized tests 739s ok 848 /regex/match-notempty-atstart-optimized/604 739s # End of match-notempty-atstart-optimized tests 739s # End of regex tests 739s ok - glib/regex.test 739s # Running test: glib/portal-support-none.test 739s TAP version 14 739s # random seed: R02Sdfc3ed8ab993d5b9c8982342ee0e305f 739s 1..1 739s # Start of portal-support tests 739s ok 1 /portal-support/none 739s # End of portal-support tests 739s ok - glib/portal-support-none.test 739s # Running test: glib/thread-pool.test 739s TAP version 14 739s # random seed: R02Sb0916ad70258975c74fa8a3690ad5bca 739s 1..5 739s # Start of thread_pool tests 739s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 739s ok 1 /thread_pool/shared 739s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 739s ok 2 /thread_pool/exclusive 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 739s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 739s ok 3 /thread_pool/create_shared_after_exclusive 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 739s ok 4 /thread_pool/create_full 739s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 739s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 739s ok 5 /thread_pool/create_exclusive_after_shared 739s # End of thread_pool tests 739s ok - glib/thread-pool.test 739s # Running test: glib/strfuncs.test 739s TAP version 14 739s # random seed: R02Sa0adb9dd7e41610c35fca3f4ac9bbbd0 739s 1..51 739s # Start of strfuncs tests 739s ok 1 /strfuncs/ascii-strcasecmp 739s ok 2 /strfuncs/ascii_strdown 739s ok 3 /strfuncs/ascii_strdup 739s ok 4 /strfuncs/ascii_strtod 739s ok 5 /strfuncs/bounds-check 739s ok 6 /strfuncs/has-prefix 739s ok 7 /strfuncs/has-prefix-macro 739s ok 8 /strfuncs/has-suffix 739s ok 9 /strfuncs/has-suffix-macro 739s ok 10 /strfuncs/memdup 739s ok 11 /strfuncs/memdup2 739s ok 12 /strfuncs/set_str 739s ok 13 /strfuncs/stpcpy 739s ok 14 /strfuncs/str_match_string 739s ok 15 /strfuncs/str_tokenize_and_fold 739s ok 16 /strfuncs/strcanon 739s ok 17 /strfuncs/strchomp 739s ok 18 /strfuncs/strchug 739s ok 19 /strfuncs/strcompress-strescape 739s ok 20 /strfuncs/strconcat 739s ok 21 /strfuncs/strdelimit 739s ok 22 /strfuncs/strdup 739s ok 23 /strfuncs/strdup-printf 739s ok 24 /strfuncs/strdupv 739s ok 25 /strfuncs/strerror 739s ok 26 /strfuncs/strip-context 739s ok 27 /strfuncs/strjoin 739s ok 28 /strfuncs/strjoinv 739s ok 29 /strfuncs/strlcat 739s ok 30 /strfuncs/strlcpy 739s ok 31 /strfuncs/strncasecmp 739s ok 32 /strfuncs/strndup 739s ok 33 /strfuncs/strnfill 739s ok 34 /strfuncs/strreverse 739s ok 35 /strfuncs/strsignal 739s ok 36 /strfuncs/strsplit 739s ok 37 /strfuncs/strsplit-set 739s ok 38 /strfuncs/strstr 739s ok 39 /strfuncs/strtod 739s ok 40 /strfuncs/strtoull-strtoll 739s ok 41 /strfuncs/strup 739s ok 42 /strfuncs/strv-contains 739s ok 43 /strfuncs/strv-equal 739s ok 44 /strfuncs/strv-length 739s ok 45 /strfuncs/test-is-to-digit 739s ok 46 /strfuncs/transliteration 739s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 739s ok 47 /strfuncs/str-equal 739s ok 48 /strfuncs/str-is-ascii 739s # Start of ascii-string-to-num tests 739s ok 49 /strfuncs/ascii-string-to-num/pathological 739s ok 50 /strfuncs/ascii-string-to-num/usual 739s # End of ascii-string-to-num tests 739s # Start of strdup tests 739s ok 51 /strfuncs/strdup/inline 739s # End of strdup tests 739s # End of strfuncs tests 739s ok - glib/strfuncs.test 739s # Running test: glib/properties-refcount4.test 739s ok - glib/properties-refcount4.test 739s TAP version 14 739s # Running test: glib/permission.test 739s ok - glib/permission.test 739s # Running test: glib/g-icon.test 739s ok - glib/g-icon.test 739s # Running test: glib/data-input-stream.test 739s # random seed: R02S2bbd8688b30802b4cd35611e8dd62778 739s 1..1 739s # Start of gobject tests 739s # Start of refcount tests 739s ok 1 /gobject/refcount/properties-4 739s # End of refcount tests 739s # End of gobject tests 739s TAP version 14 739s # random seed: R02S86b84e994f02a9c2c9263243602a9568 739s 1..1 739s # Start of permission tests 739s ok 1 /permission/simple 739s # End of permission tests 739s TAP version 14 739s # random seed: R02Sfb88b9ea9bb608aa4dd89be3714144b6 739s 1..6 739s # Start of icons tests 739s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 739s ok 1 /icons/to-string 739s ok 2 /icons/serialize 739s ok 3 /icons/themed 739s ok 4 /icons/emblemed 739s ok 5 /icons/file 739s ok 6 /icons/bytes 739s # End of icons tests 739s TAP version 14 739s # random seed: R02See5f806c75bbaf767a7712271b92f426 739s 1..10 739s # Start of data-input-stream tests 739s ok 1 /data-input-stream/basic 739s ok 2 /data-input-stream/read-lines-LF 739s ok 3 /data-input-stream/read-lines-LF-valid-utf8 739s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 739s ok 5 /data-input-stream/read-lines-CR 739s ok 6 /data-input-stream/read-lines-CR-LF 739s ok 7 /data-input-stream/read-lines-any 739s ok 8 /data-input-stream/read-until 739s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 739s # Test vector 1: {"key": "value"}? and ? 739s ok 9 /data-input-stream/read-upto 739s ok 10 /data-input-stream/read-int 739s # End of data-input-stream tests 739s ok - glib/data-input-stream.test 739s # Running test: glib/network-monitor-race.test 739s TAP version 14 739s # random seed: R02S57958342710a0cc1c8b2f54bf59043e3 739s 1..1 739s # Start of network-monitor tests 739s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 742s ok - glib/network-monitor-race.test 742s ok 1 /network-monitor/create-in-thread 742s # slow test /network-monitor/create-in-thread executed in 2.19 secs 742s # End of network-monitor tests 742s # Running test: glib/string.test 742s TAP version 14 742s # random seed: R02S174856aaf00a1e4c5736d89eafd818c2 742s 1..23 742s # Start of string tests 742s ok 1 /string/test-string-chunks 742s ok 2 /string/test-string-chunk-insert 742s ok 3 /string/test-string-new 742s ok 4 /string/test-string-printf 742s ok 5 /string/test-string-assign 742s ok 6 /string/test-string-append-c 742s ok - glib/string.test 742s # Running test: glib/mkenums.py.test 742s ok 7 /string/test-string-append 742s ok 8 /string/test-string-append-vprintf 742s ok 9 /string/test-string-prepend-c 742s ok 10 /string/test-string-prepend 742s ok 11 /string/test-string-insert 742s ok 12 /string/test-string-insert-unichar 742s ok 13 /string/test-string-equal 742s ok 14 /string/test-string-truncate 742s ok 15 /string/test-string-overwrite 742s ok 16 /string/test-string-nul-handling 742s ok 17 /string/test-string-up-down 742s ok 18 /string/test-string-set-size 742s ok 19 /string/test-string-to-bytes 742s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 742s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 742s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 742s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 742s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 742s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 742s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 742s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 742s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 742s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 742s # 5: Replacing "o" with "" (limit 0) in "food for foals" 742s # -> 4 replacements, "fd fr fals" 742s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 742s # -> 3 replacements, "aaaaaaaaa" 742s # 7: Replacing "a" with "" (limit 0) in "aaa" 742s # -> 3 replacements, "" 742s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 742s # -> 1 replacements, "bba" 742s # 9: Replacing "" with "bar" (limit 0) in "foo" 742s # -> 4 replacements, "barfbarobarobar" 742s # 10: Replacing "" with "bar" (limit 1) in "foo" 742s # -> 1 replacements, "barfoo" 742s # 11: Replacing "" with "bar" (limit 2) in "foo" 742s # -> 2 replacements, "barfbaroo" 742s # 12: Replacing "" with "bar" (limit 3) in "foo" 742s # -> 3 replacements, "barfbarobaro" 742s # 13: Replacing "" with "bar" (limit 4) in "foo" 742s # -> 4 replacements, "barfbarobarobar" 742s # 14: Replacing "" with "bar" (limit 5) in "foo" 742s # -> 4 replacements, "barfbarobarobar" 742s # 15: Replacing "" with "x" (limit 0) in "" 742s # -> 1 replacements, "x" 742s # 16: Replacing "" with "" (limit 0) in "" 742s # -> 1 replacements, "" 742s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 742s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 742s ok 20 /string/test-string-replace 742s ok 21 /string/test-string-steal 742s ok 22 /string/test-string-new-take 742s # Start of test-string-new-take tests 742s ok 23 /string/test-string-new-take/null 742s # End of test-string-new-take tests 742s # End of string tests 742s TAP version 13 742s ok 1 __main__.TestMkenums.test_available_in 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpiixl9noe 742s # rspfile: False 742s # /tmp/tmpiixl9noe/tmpws4o_00z.h: 742s # typedef enum { 742s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 742s # } GDBusServerFlags; 742s # 742s # /tmp/tmpiixl9noe/tmpsiwwvybb.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpiixl9noe/tmpsiwwvybb.template', '/tmp/tmpiixl9noe/tmpws4o_00z.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpiixl9noe/tmpws4o_00z.h 742s # basename: tmpws4o_00z.h 742s # enumeration-production 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-header 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-production 742s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 742s # valuenick: user 742s # valuenum: 4 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-tail 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 2 __main__.TestMkenums.test_comma_in_enum_value 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmp6uonb7lm 742s # rspfile: False 742s # /tmp/tmp6uonb7lm/tmpyj0jjim3.h: 742s # typedef enum { 742s # ENUM_VALUE_WITH_COMMA = ',', 742s # } TestCommaEnum; 742s # 742s # /tmp/tmp6uonb7lm/tmphkkop5uc.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6uonb7lm/tmphkkop5uc.template', '/tmp/tmp6uonb7lm/tmpyj0jjim3.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmp6uonb7lm/tmpyj0jjim3.h 742s # basename: tmpyj0jjim3.h 742s # enumeration-production 742s # EnumName: TestCommaEnum 742s # enum_name: test_comma_enum 742s # ENUMNAME: TEST_COMMA_ENUM 742s # ENUMSHORT: COMMA_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: TestCommaEnum 742s # enum_name: test_comma_enum 742s # ENUMNAME: TEST_COMMA_ENUM 742s # ENUMSHORT: COMMA_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: ENUM_VALUE_WITH_COMMA 742s # valuenick: comma 742s # valuenum: 44 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: TestCommaEnum 742s # enum_name: test_comma_enum 742s # ENUMNAME: TEST_COMMA_ENUM 742s # ENUMSHORT: COMMA_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 3 __main__.TestMkenums.test_deprecated_in 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmppcuynkd7 742s # rspfile: False 742s # /tmp/tmppcuynkd7/tmppdn8re4a.h: 742s # typedef enum { 742s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 742s # } GDBusServerFlags; 742s # 742s # /tmp/tmppcuynkd7/tmpgl3pkklq.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppcuynkd7/tmpgl3pkklq.template', '/tmp/tmppcuynkd7/tmppdn8re4a.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmppcuynkd7/tmppdn8re4a.h 742s # basename: tmppdn8re4a.h 742s # enumeration-production 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-header 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-production 742s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 742s # valuenick: user 742s # valuenum: 4 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-tail 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 4 __main__.TestMkenums.test_deprecated_in_for 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpi1fd7f9x 742s # rspfile: False 742s # /tmp/tmpi1fd7f9x/tmpe5isirp0.h: 742s # typedef enum { 742s # 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) 742s # } GDBusServerFlags; 742s # 742s # /tmp/tmpi1fd7f9x/tmp2rqx52qv.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi1fd7f9x/tmp2rqx52qv.template', '/tmp/tmpi1fd7f9x/tmpe5isirp0.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpi1fd7f9x/tmpe5isirp0.h 742s # basename: tmpe5isirp0.h 742s # enumeration-production 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-header 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-production 742s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 742s # valuenick: user 742s # valuenum: 4 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-tail 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 5 __main__.TestMkenums.test_empty_header 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpmd3jojxq 742s # rspfile: False 742s # /tmp/tmpmd3jojxq/tmpq77jer28.h: 742s # /tmp/tmpmd3jojxq/tmpa1cofmpg.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmd3jojxq/tmpa1cofmpg.template', '/tmp/tmpmd3jojxq/tmpq77jer28.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 6 __main__.TestMkenums.test_empty_template 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpo4j61yjz 742s # rspfile: False 742s # /tmp/tmpo4j61yjz/tmpio2czuqa.template: 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpo4j61yjz/tmpio2czuqa.template'] 742s # Return code: 0 742s # Output: 742s # /* 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. */ 742s # 742s # 742s # /* Generated data ends here */ 742s # Error: 742s ok 7 __main__.TestMkenums.test_enum_name 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpkhjbfeof 742s # rspfile: False 742s # /tmp/tmpkhjbfeof/tmpc1uuuu60.h: 742s # typedef enum _SomeEnumIdentifier { 742s # ENUM_VALUE 742s # } SomeEnumIdentifier; 742s # 742s # /tmp/tmpkhjbfeof/tmp_o59aok2.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkhjbfeof/tmp_o59aok2.template', '/tmp/tmpkhjbfeof/tmpc1uuuu60.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpkhjbfeof/tmpc1uuuu60.h 742s # basename: tmpc1uuuu60.h 742s # enumeration-production 742s # EnumName: SomeEnumIdentifier 742s # enum_name: some_enum_identifier 742s # ENUMNAME: SOME_ENUM_IDENTIFIER 742s # ENUMSHORT: ENUM_IDENTIFIER 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: SomeEnumIdentifier 742s # enum_name: some_enum_identifier 742s # ENUMNAME: SOME_ENUM_IDENTIFIER 742s # ENUMSHORT: ENUM_IDENTIFIER 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: ENUM_VALUE 742s # valuenick: value 742s # valuenum: 0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: SomeEnumIdentifier 742s # enum_name: some_enum_identifier 742s # ENUMNAME: SOME_ENUM_IDENTIFIER 742s # ENUMSHORT: ENUM_IDENTIFIER 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 8 __main__.TestMkenums.test_enum_private_public 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpfe03kdjb 742s # rspfile: False 742s # /tmp/tmpfe03kdjb/tmpxb7jt6dp.h: 742s # typedef enum { 742s # ENUM_VALUE_PUBLIC1, 742s # /*< private >*/ 742s # ENUM_VALUE_PRIVATE, 742s # } SomeEnumA 742s # 742s # /tmp/tmpfe03kdjb/tmp7ssb6sl4.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfe03kdjb/tmp7ssb6sl4.template', '/tmp/tmpfe03kdjb/tmpxb7jt6dp.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpfe03kdjb/tmpxb7jt6dp.h 742s # basename: tmpxb7jt6dp.h 742s # enumeration-production 742s # EnumName: SomeEnumA 742s # enum_name: some_enum_a 742s # ENUMNAME: SOME_ENUM_A 742s # ENUMSHORT: ENUM_A 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: SomeEnumA 742s # enum_name: some_enum_a 742s # ENUMNAME: SOME_ENUM_A 742s # ENUMSHORT: ENUM_A 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: ENUM_VALUE_PUBLIC1 742s # valuenick: public1 742s # valuenum: 0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: SomeEnumA 742s # enum_name: some_enum_a 742s # ENUMNAME: SOME_ENUM_A 742s # ENUMSHORT: ENUM_A 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s # 742s # /tmp/tmpfe03kdjb/tmpe21lzfkh.h: 742s # typedef enum { 742s # /*< private >*/ 742s # ENUM_VALUE_PRIVATE, 742s # /*< public >*/ 742s # ENUM_VALUE_PUBLIC2, 742s # } SomeEnumB; 742s # 742s # /tmp/tmpfe03kdjb/tmpxjr973gf.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfe03kdjb/tmpxjr973gf.template', '/tmp/tmpfe03kdjb/tmpe21lzfkh.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpfe03kdjb/tmpe21lzfkh.h 742s # basename: tmpe21lzfkh.h 742s # enumeration-production 742s # EnumName: SomeEnumB 742s # enum_name: some_enum_b 742s # ENUMNAME: SOME_ENUM_B 742s # ENUMSHORT: ENUM_B 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: SomeEnumB 742s # enum_name: some_enum_b 742s # ENUMNAME: SOME_ENUM_B 742s # ENUMSHORT: ENUM_B 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: ENUM_VALUE_PUBLIC2 742s # valuenick: public2 742s # valuenum: 1 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: SomeEnumB 742s # enum_name: some_enum_b 742s # ENUMNAME: SOME_ENUM_B 742s # ENUMSHORT: ENUM_B 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmp2vcf6t3c 742s # rspfile: False 742s # /tmp/tmp2vcf6t3c/tmp1u3jz_hy.h: 742s # typedef enum { 742s # /*< private >*/ 742s # ENUM_VALUE_PRIVATE = 5, 742s # /*< public >*/ 742s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 742s # } TestSymbolicEnum; 742s # 742s # /tmp/tmp2vcf6t3c/tmpp1xzjdc2.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2vcf6t3c/tmpp1xzjdc2.template', '/tmp/tmp2vcf6t3c/tmp1u3jz_hy.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmp2vcf6t3c/tmp1u3jz_hy.h 742s # basename: tmp1u3jz_hy.h 742s # enumeration-production 742s # EnumName: TestSymbolicEnum 742s # enum_name: test_symbolic_enum 742s # ENUMNAME: TEST_SYMBOLIC_ENUM 742s # ENUMSHORT: SYMBOLIC_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: TestSymbolicEnum 742s # enum_name: test_symbolic_enum 742s # ENUMNAME: TEST_SYMBOLIC_ENUM 742s # ENUMSHORT: SYMBOLIC_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: ENUM_VALUE_PUBLIC 742s # valuenick: public 742s # valuenum: 7 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: TestSymbolicEnum 742s # enum_name: test_symbolic_enum 742s # ENUMNAME: TEST_SYMBOLIC_ENUM 742s # ENUMSHORT: SYMBOLIC_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmps2lj0b4k 742s # rspfile: False 742s # /tmp/tmps2lj0b4k/tmprbhn9b3p.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-tail ***/ 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps2lj0b4k/tmprbhn9b3p.template'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # filename: @filename@ 742s # basename: @basename@ 742s # file-tail 742s # filename: @filename@ 742s # basename: @basename@ 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s # WARNING: @filename@ used in file-header section. 742s # WARNING: @basename@ used in file-header section. 742s # WARNING: @filename@ used in file-tail section. 742s # WARNING: @basename@ used in file-tail section. 742s ok 11 __main__.TestMkenums.test_help 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpbz4bc9k3 742s # rspfile: False 742s # Running: ['/usr/bin/glib-mkenums', '--help'] 742s # Return code: 0 742s # Output: 742s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 742s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 742s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 742s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 742s # [--comments COMMENT_TMPL] [--template TEMPLATE] 742s # [--output OUTPUT] [--version] 742s # [args ...] 742s # 742s # positional arguments: 742s # args One or more input files, or a single argument 742s # @rspfile_path pointing to a file that contains the 742s # actual arguments 742s # 742s # options: 742s # -h, --help show this help message and exit 742s # --identifier-prefix IDPREFIX 742s # Identifier prefix 742s # --symbol-prefix SYMPREFIX 742s # Symbol prefix 742s # --fhead FHEAD Output file header 742s # --ftail FTAIL Output file footer 742s # --fprod FPROD Put out TEXT every time a new input file is being 742s # processed. 742s # --eprod EPROD Per enum text, produced prior to value iterations 742s # --vhead VHEAD Value header, produced before iterating over enum 742s # values 742s # --vprod VPROD Value text, produced for each enum value. 742s # --vtail VTAIL Value tail, produced after iterating over enum values 742s # --comments COMMENT_TMPL 742s # Comment structure 742s # --template TEMPLATE Template file 742s # --output OUTPUT 742s # --version, -v Print version information 742s # 742s # Production text substitutions: 742s # @EnumName@ PrefixTheXEnum 742s # @enum_name@ prefix_the_xenum 742s # @ENUMNAME@ PREFIX_THE_XENUM 742s # @ENUMSHORT@ THE_XENUM 742s # @ENUMPREFIX@ PREFIX 742s # @enumsince@ the user-provided since value given 742s # @VALUENAME@ PREFIX_THE_XVALUE 742s # @valuenick@ the-xvalue 742s # @valuenum@ the integer value (limited support, Since: 2.26) 742s # @type@ either enum or flags 742s # @Type@ either Enum or Flags 742s # @TYPE@ either ENUM or FLAGS 742s # @filename@ name of current input file 742s # @basename@ base name of the current input file (Since: 2.22) 742s # Error: 742s ok 12 __main__.TestMkenums.test_no_args 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpzgvgrwh0 742s # rspfile: False 742s # Running: ['/usr/bin/glib-mkenums'] 742s # Return code: 0 742s # Output: 742s # /* 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. */ 742s # 742s # 742s # /* Generated data ends here */ 742s # Error: 742s ok 13 __main__.TestMkenums.test_no_headers 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpg4pg35ts 742s # rspfile: False 742s # /tmp/tmpg4pg35ts/tmp4wh37zwq.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg4pg35ts/tmp4wh37zwq.template'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 14 __main__.TestMkenums.test_no_nick 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpjoq629mv 742s # rspfile: False 742s # /tmp/tmpjoq629mv/tmpnkei7je6.h: 742s # typedef enum { 742s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 742s # } GeglSamplerType; 742s # 742s # /tmp/tmpjoq629mv/tmprp9betfy.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjoq629mv/tmprp9betfy.template', '/tmp/tmpjoq629mv/tmpnkei7je6.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpjoq629mv/tmpnkei7je6.h 742s # basename: tmpnkei7je6.h 742s # enumeration-production 742s # EnumName: GeglSamplerType 742s # enum_name: gegl_sampler_type 742s # ENUMNAME: GEGL_SAMPLER_TYPE 742s # ENUMSHORT: SAMPLER_TYPE 742s # ENUMPREFIX: GEGL 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: GeglSamplerType 742s # enum_name: gegl_sampler_type 742s # ENUMNAME: GEGL_SAMPLER_TYPE 742s # ENUMSHORT: SAMPLER_TYPE 742s # ENUMPREFIX: GEGL 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: GEGL_SAMPLER_NEAREST 742s # valuenick: nearest 742s # valuenum: 0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: GeglSamplerType 742s # enum_name: gegl_sampler_type 742s # ENUMNAME: GEGL_SAMPLER_TYPE 742s # ENUMSHORT: SAMPLER_TYPE 742s # ENUMPREFIX: GEGL 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 15 __main__.TestMkenums.test_non_utf8_encoding 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmppskmhmjo 742s # rspfile: False 742s # /tmp/tmppskmhmjo/tmpg19zmclh.h: 742s # /* Copyright © La Peña */ 742s # typedef enum { 742s # ENUM_VALUE 742s # } SomeEnumIdentifier; 742s # 742s # /tmp/tmppskmhmjo/tmpar8lh7mi.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppskmhmjo/tmpar8lh7mi.template', '/tmp/tmppskmhmjo/tmpg19zmclh.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmppskmhmjo/tmpg19zmclh.h 742s # basename: tmpg19zmclh.h 742s # enumeration-production 742s # EnumName: SomeEnumIdentifier 742s # enum_name: some_enum_identifier 742s # ENUMNAME: SOME_ENUM_IDENTIFIER 742s # ENUMSHORT: ENUM_IDENTIFIER 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: SomeEnumIdentifier 742s # enum_name: some_enum_identifier 742s # ENUMNAME: SOME_ENUM_IDENTIFIER 742s # ENUMSHORT: ENUM_IDENTIFIER 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: ENUM_VALUE 742s # valuenick: value 742s # valuenum: 0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: SomeEnumIdentifier 742s # enum_name: some_enum_identifier 742s # ENUMNAME: SOME_ENUM_IDENTIFIER 742s # ENUMSHORT: ENUM_IDENTIFIER 742s # ENUMPREFIX: SOME 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 742s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 742s ok 16 __main__.TestMkenums.test_reproducible 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpxfn2if7q 742s # rspfile: False 742s # /tmp/tmpxfn2if7q/tmpvyow4nf8.template: template 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxfn2if7q/tmpvyow4nf8.template', '/tmp/tmpxfn2if7q/tmpkbnfqrtt1.h', '/tmp/tmpxfn2if7q/tmp92o36j4a2.h'] 742s # Return code: 0 742s # Output: 742s # /* 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. */ 742s # 742s # 742s # /* Generated data ends here */ 742s # Error: 742s # 742s # /tmp/tmpxfn2if7q/tmppyg0ibv4.template: template 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxfn2if7q/tmppyg0ibv4.template', '/tmp/tmpxfn2if7q/tmp92o36j4a2.h', '/tmp/tmpxfn2if7q/tmpkbnfqrtt1.h'] 742s # Return code: 0 742s # Output: 742s # /* 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. */ 742s # 742s # 742s # /* Generated data ends here */ 742s # Error: 742s ok 17 __main__.TestMkenums.test_since 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmp2btzw_jx 742s # rspfile: False 742s # /tmp/tmp2btzw_jx/tmpts6x7kcp.h: 742s # typedef enum { /*< since=1.0 >*/ 742s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 742s # } QmiWmsMessageProtocol; 742s # 742s # /tmp/tmp2btzw_jx/tmpoj5fekx3.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp2btzw_jx/tmpoj5fekx3.template', '/tmp/tmp2btzw_jx/tmpts6x7kcp.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmp2btzw_jx/tmpts6x7kcp.h 742s # basename: tmpts6x7kcp.h 742s # enumeration-production 742s # EnumName: QmiWmsMessageProtocol 742s # enum_name: qmi_wms_message_protocol 742s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 742s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 742s # ENUMPREFIX: QMI 742s # enumsince: 1.0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: QmiWmsMessageProtocol 742s # enum_name: qmi_wms_message_protocol 742s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 742s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 742s # ENUMPREFIX: QMI 742s # enumsince: 1.0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 742s # valuenick: cdma 742s # valuenum: 0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: QmiWmsMessageProtocol 742s # enum_name: qmi_wms_message_protocol 742s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 742s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 742s # ENUMPREFIX: QMI 742s # enumsince: 1.0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 18 __main__.TestMkenums.test_with_double_quotes 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpjt7mphkk 742s # rspfile: False 742s # /tmp/tmpjt7mphkk/tmpfifhppg5.h: 742s # typedef enum { 742s # FOO_VALUE /*< nick="eek, a comma" >*/ 742s # } Foo; 742s # 742s # /tmp/tmpjt7mphkk/tmpjlkk30x4.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjt7mphkk/tmpjlkk30x4.template', '/tmp/tmpjt7mphkk/tmpfifhppg5.h'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpjt7mphkk/tmpfifhppg5.h 742s # basename: tmpfifhppg5.h 742s # enumeration-production 742s # EnumName: Foo 742s # enum_name: foo_ 742s # ENUMNAME: FOO_ 742s # ENUMSHORT: 742s # ENUMPREFIX: FOO 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: Foo 742s # enum_name: foo_ 742s # ENUMNAME: FOO_ 742s # ENUMSHORT: 742s # ENUMPREFIX: FOO 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: FOO_VALUE 742s # valuenick: eek, a comma 742s # valuenum: 0 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: Foo 742s # enum_name: foo_ 742s # ENUMNAME: FOO_ 742s # ENUMSHORT: 742s # ENUMPREFIX: FOO 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 19 __main__.TestRspMkenums.test_available_in 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpvk992c1e 742s # rspfile: True 742s # /tmp/tmpvk992c1e/tmpxd8o_hp6.h: 742s # typedef enum { 742s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 742s # } GDBusServerFlags; 742s # 742s # /tmp/tmpvk992c1e/tmp84y3nnug.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Response file contains: --template /tmp/tmpvk992c1e/tmp84y3nnug.template /tmp/tmpvk992c1e/tmpxd8o_hp6.h 742s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvk992c1e/tmp5j7uasmm'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpvk992c1e/tmpxd8o_hp6.h 742s # basename: tmpxd8o_hp6.h 742s # enumeration-production 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-header 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-production 742s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 742s # valuenick: user 742s # valuenum: 4 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-tail 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpczxcl2bd 742s # rspfile: True 742s # /tmp/tmpczxcl2bd/tmpob03mdi7.h: 742s # typedef enum { 742s # ENUM_VALUE_WITH_COMMA = ',', 742s # } TestCommaEnum; 742s # 742s # /tmp/tmpczxcl2bd/tmpmt8kuxb0.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Response file contains: --template /tmp/tmpczxcl2bd/tmpmt8kuxb0.template /tmp/tmpczxcl2bd/tmpob03mdi7.h 742s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpczxcl2bd/tmpnvdv_6hx'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpczxcl2bd/tmpob03mdi7.h 742s # basename: tmpob03mdi7.h 742s # enumeration-production 742s # EnumName: TestCommaEnum 742s # enum_name: test_comma_enum 742s # ENUMNAME: TEST_COMMA_ENUM 742s # ENUMSHORT: COMMA_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-header 742s # EnumName: TestCommaEnum 742s # enum_name: test_comma_enum 742s # ENUMNAME: TEST_COMMA_ENUM 742s # ENUMSHORT: COMMA_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-production 742s # VALUENAME: ENUM_VALUE_WITH_COMMA 742s # valuenick: comma 742s # valuenum: 44 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # value-tail 742s # EnumName: TestCommaEnum 742s # enum_name: test_comma_enum 742s # ENUMNAME: TEST_COMMA_ENUM 742s # ENUMSHORT: COMMA_ENUM 742s # ENUMPREFIX: TEST 742s # enumsince: 742s # type: enum 742s # Type: Enum 742s # TYPE: ENUM 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 742s ok 21 __main__.TestRspMkenums.test_deprecated_in 742s # glib-mkenums: /usr/bin/glib-mkenums 742s # tmpdir: /tmp/tmpdqgrj_fm 742s # rspfile: True 742s # /tmp/tmpdqgrj_fm/tmp4cffly4h.h: 742s # typedef enum { 742s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 742s # } GDBusServerFlags; 742s # 742s # /tmp/tmpdqgrj_fm/tmp0s4nifzt.template: 742s # /*** BEGIN file-header ***/ 742s # file-header 742s # /*** END file-header ***/ 742s # 742s # /*** BEGIN file-production ***/ 742s # file-production 742s # filename: @filename@ 742s # basename: @basename@ 742s # /*** END file-production ***/ 742s # 742s # /*** BEGIN enumeration-production ***/ 742s # enumeration-production 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END enumeration-production ***/ 742s # 742s # /*** BEGIN value-header ***/ 742s # value-header 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-header ***/ 742s # 742s # /*** BEGIN value-production ***/ 742s # value-production 742s # VALUENAME: @VALUENAME@ 742s # valuenick: @valuenick@ 742s # valuenum: @valuenum@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-production ***/ 742s # 742s # /*** BEGIN value-tail ***/ 742s # value-tail 742s # EnumName: @EnumName@ 742s # enum_name: @enum_name@ 742s # ENUMNAME: @ENUMNAME@ 742s # ENUMSHORT: @ENUMSHORT@ 742s # ENUMPREFIX: @ENUMPREFIX@ 742s # enumsince: @enumsince@ 742s # type: @type@ 742s # Type: @Type@ 742s # TYPE: @TYPE@ 742s # /*** END value-tail ***/ 742s # 742s # /*** BEGIN comment ***/ 742s # comment 742s # comment: @comment@ 742s # /*** END comment ***/ 742s # 742s # /*** BEGIN file-tail ***/ 742s # file-tail 742s # /*** END file-tail ***/ 742s # 742s # Response file contains: --template /tmp/tmpdqgrj_fm/tmp0s4nifzt.template /tmp/tmpdqgrj_fm/tmp4cffly4h.h 742s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdqgrj_fm/tmpyqzqnsts'] 742s # Return code: 0 742s # Output: 742s # comment 742s # 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. 742s # 742s # 742s # file-header 742s # file-production 742s # filename: /tmp/tmpdqgrj_fm/tmp4cffly4h.h 742s # basename: tmp4cffly4h.h 742s # enumeration-production 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-header 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-production 742s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 742s # valuenick: user 742s # valuenum: 4 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # value-tail 742s # EnumName: GDBusServerFlags 742s # enum_name: g_dbus_server_flags 742s # ENUMNAME: G_DBUS_SERVER_FLAGS 742s # ENUMSHORT: DBUS_SERVER_FLAGS 742s # ENUMPREFIX: G 742s # enumsince: 742s # type: flags 742s # Type: Flags 742s # TYPE: FLAGS 742s # file-tail 742s # 742s # comment 742s # comment: Generated data ends here 742s # Error: 743s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpi5gzmiai 743s # rspfile: True 743s # /tmp/tmpi5gzmiai/tmpx5hn4cch.h: 743s # typedef enum { 743s # 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) 743s # } GDBusServerFlags; 743s # 743s # /tmp/tmpi5gzmiai/tmpk776kmbf.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmpi5gzmiai/tmpk776kmbf.template /tmp/tmpi5gzmiai/tmpx5hn4cch.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi5gzmiai/tmpj08cp3h9'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmpi5gzmiai/tmpx5hn4cch.h 743s # basename: tmpx5hn4cch.h 743s # enumeration-production 743s # EnumName: GDBusServerFlags 743s # enum_name: g_dbus_server_flags 743s # ENUMNAME: G_DBUS_SERVER_FLAGS 743s # ENUMSHORT: DBUS_SERVER_FLAGS 743s # ENUMPREFIX: G 743s # enumsince: 743s # type: flags 743s # Type: Flags 743s # TYPE: FLAGS 743s # value-header 743s # EnumName: GDBusServerFlags 743s # enum_name: g_dbus_server_flags 743s # ENUMNAME: G_DBUS_SERVER_FLAGS 743s # ENUMSHORT: DBUS_SERVER_FLAGS 743s # ENUMPREFIX: G 743s # enumsince: 743s # type: flags 743s # Type: Flags 743s # TYPE: FLAGS 743s # value-production 743s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 743s # valuenick: user 743s # valuenum: 4 743s # type: flags 743s # Type: Flags 743s # TYPE: FLAGS 743s # value-tail 743s # EnumName: GDBusServerFlags 743s # enum_name: g_dbus_server_flags 743s # ENUMNAME: G_DBUS_SERVER_FLAGS 743s # ENUMSHORT: DBUS_SERVER_FLAGS 743s # ENUMPREFIX: G 743s # enumsince: 743s # type: flags 743s # Type: Flags 743s # TYPE: FLAGS 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 23 __main__.TestRspMkenums.test_empty_header 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpsdu6qdvr 743s # rspfile: True 743s # /tmp/tmpsdu6qdvr/tmpuxg_9bg6.h: 743s # /tmp/tmpsdu6qdvr/tmps33zifg5.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmpsdu6qdvr/tmps33zifg5.template /tmp/tmpsdu6qdvr/tmpuxg_9bg6.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsdu6qdvr/tmpxosb4obs'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 24 __main__.TestRspMkenums.test_empty_template 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpilok5wvv 743s # rspfile: True 743s # /tmp/tmpilok5wvv/tmpih93n7nv.template: 743s # Response file contains: --template /tmp/tmpilok5wvv/tmpih93n7nv.template 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpilok5wvv/tmpmy9suy14'] 743s # Return code: 0 743s # Output: 743s # /* 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. */ 743s # 743s # 743s # /* Generated data ends here */ 743s # Error: 743s ok 25 __main__.TestRspMkenums.test_enum_name 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmph3bakbc3 743s # rspfile: True 743s # /tmp/tmph3bakbc3/tmpuh2ua1h2.h: 743s # typedef enum _SomeEnumIdentifier { 743s # ENUM_VALUE 743s # } SomeEnumIdentifier; 743s # 743s # /tmp/tmph3bakbc3/tmpxr6va2qu.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmph3bakbc3/tmpxr6va2qu.template /tmp/tmph3bakbc3/tmpuh2ua1h2.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmph3bakbc3/tmpb7lb21ju'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmph3bakbc3/tmpuh2ua1h2.h 743s # basename: tmpuh2ua1h2.h 743s # enumeration-production 743s # EnumName: SomeEnumIdentifier 743s # enum_name: some_enum_identifier 743s # ENUMNAME: SOME_ENUM_IDENTIFIER 743s # ENUMSHORT: ENUM_IDENTIFIER 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: SomeEnumIdentifier 743s # enum_name: some_enum_identifier 743s # ENUMNAME: SOME_ENUM_IDENTIFIER 743s # ENUMSHORT: ENUM_IDENTIFIER 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: ENUM_VALUE 743s # valuenick: value 743s # valuenum: 0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: SomeEnumIdentifier 743s # enum_name: some_enum_identifier 743s # ENUMNAME: SOME_ENUM_IDENTIFIER 743s # ENUMSHORT: ENUM_IDENTIFIER 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 26 __main__.TestRspMkenums.test_enum_private_public 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpsuv86a0x 743s # rspfile: True 743s # /tmp/tmpsuv86a0x/tmpncmmirc1.h: 743s # typedef enum { 743s # ENUM_VALUE_PUBLIC1, 743s # /*< private >*/ 743s # ENUM_VALUE_PRIVATE, 743s # } SomeEnumA 743s # 743s # /tmp/tmpsuv86a0x/tmpitci6vom.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmpsuv86a0x/tmpitci6vom.template /tmp/tmpsuv86a0x/tmpncmmirc1.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsuv86a0x/tmpalza1m0m'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmpsuv86a0x/tmpncmmirc1.h 743s # basename: tmpncmmirc1.h 743s # enumeration-production 743s # EnumName: SomeEnumA 743s # enum_name: some_enum_a 743s # ENUMNAME: SOME_ENUM_A 743s # ENUMSHORT: ENUM_A 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: SomeEnumA 743s # enum_name: some_enum_a 743s # ENUMNAME: SOME_ENUM_A 743s # ENUMSHORT: ENUM_A 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: ENUM_VALUE_PUBLIC1 743s # valuenick: public1 743s # valuenum: 0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: SomeEnumA 743s # enum_name: some_enum_a 743s # ENUMNAME: SOME_ENUM_A 743s # ENUMSHORT: ENUM_A 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s # 743s # /tmp/tmpsuv86a0x/tmpmoded2kb.h: 743s # typedef enum { 743s # /*< private >*/ 743s # ENUM_VALUE_PRIVATE, 743s # /*< public >*/ 743s # ENUM_VALUE_PUBLIC2, 743s # } SomeEnumB; 743s # 743s # /tmp/tmpsuv86a0x/tmpu4k0lqdd.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmpsuv86a0x/tmpu4k0lqdd.template /tmp/tmpsuv86a0x/tmpmoded2kb.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsuv86a0x/tmpc1phwt77'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmpsuv86a0x/tmpmoded2kb.h 743s # basename: tmpmoded2kb.h 743s # enumeration-production 743s # EnumName: SomeEnumB 743s # enum_name: some_enum_b 743s # ENUMNAME: SOME_ENUM_B 743s # ENUMSHORT: ENUM_B 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: SomeEnumB 743s # enum_name: some_enum_b 743s # ENUMNAME: SOME_ENUM_B 743s # ENUMSHORT: ENUM_B 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: ENUM_VALUE_PUBLIC2 743s # valuenick: public2 743s # valuenum: 1 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: SomeEnumB 743s # enum_name: some_enum_b 743s # ENUMNAME: SOME_ENUM_B 743s # ENUMSHORT: ENUM_B 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpoxon6g7g 743s # rspfile: True 743s # /tmp/tmpoxon6g7g/tmps6dw_5ql.h: 743s # typedef enum { 743s # /*< private >*/ 743s # ENUM_VALUE_PRIVATE = 5, 743s # /*< public >*/ 743s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 743s # } TestSymbolicEnum; 743s # 743s # /tmp/tmpoxon6g7g/tmpnlim1h5y.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmpoxon6g7g/tmpnlim1h5y.template /tmp/tmpoxon6g7g/tmps6dw_5ql.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpoxon6g7g/tmpw4vh37wl'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmpoxon6g7g/tmps6dw_5ql.h 743s # basename: tmps6dw_5ql.h 743s # enumeration-production 743s # EnumName: TestSymbolicEnum 743s # enum_name: test_symbolic_enum 743s # ENUMNAME: TEST_SYMBOLIC_ENUM 743s # ENUMSHORT: SYMBOLIC_ENUM 743s # ENUMPREFIX: TEST 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: TestSymbolicEnum 743s # enum_name: test_symbolic_enum 743s # ENUMNAME: TEST_SYMBOLIC_ENUM 743s # ENUMSHORT: SYMBOLIC_ENUM 743s # ENUMPREFIX: TEST 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: ENUM_VALUE_PUBLIC 743s # valuenick: public 743s # valuenum: 7 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: TestSymbolicEnum 743s # enum_name: test_symbolic_enum 743s # ENUMNAME: TEST_SYMBOLIC_ENUM 743s # ENUMSHORT: SYMBOLIC_ENUM 743s # ENUMPREFIX: TEST 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmp_fkf_lnj 743s # rspfile: True 743s # /tmp/tmp_fkf_lnj/tmpr1y99mem.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-tail ***/ 743s # Response file contains: --template /tmp/tmp_fkf_lnj/tmpr1y99mem.template 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_fkf_lnj/tmpapn9inff'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # filename: @filename@ 743s # basename: @basename@ 743s # file-tail 743s # filename: @filename@ 743s # basename: @basename@ 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s # WARNING: @filename@ used in file-header section. 743s # WARNING: @basename@ used in file-header section. 743s # WARNING: @filename@ used in file-tail section. 743s # WARNING: @basename@ used in file-tail section. 743s ok 29 __main__.TestRspMkenums.test_help 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpo4tgz8av 743s # rspfile: True 743s # Response file contains: --help 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo4tgz8av/tmpzs1dnd60'] 743s # Return code: 0 743s # Output: 743s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 743s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 743s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 743s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 743s # [--comments COMMENT_TMPL] [--template TEMPLATE] 743s # [--output OUTPUT] [--version] 743s # [args ...] 743s # 743s # positional arguments: 743s # args One or more input files, or a single argument 743s # @rspfile_path pointing to a file that contains the 743s # actual arguments 743s # 743s # options: 743s # -h, --help show this help message and exit 743s # --identifier-prefix IDPREFIX 743s # Identifier prefix 743s # --symbol-prefix SYMPREFIX 743s # Symbol prefix 743s # --fhead FHEAD Output file header 743s # --ftail FTAIL Output file footer 743s # --fprod FPROD Put out TEXT every time a new input file is being 743s # processed. 743s # --eprod EPROD Per enum text, produced prior to value iterations 743s # --vhead VHEAD Value header, produced before iterating over enum 743s # values 743s # --vprod VPROD Value text, produced for each enum value. 743s # --vtail VTAIL Value tail, produced after iterating over enum values 743s # --comments COMMENT_TMPL 743s # Comment structure 743s # --template TEMPLATE Template file 743s # --output OUTPUT 743s # --version, -v Print version information 743s # 743s # Production text substitutions: 743s # @EnumName@ PrefixTheXEnum 743s # @enum_name@ prefix_the_xenum 743s # @ENUMNAME@ PREFIX_THE_XENUM 743s # @ENUMSHORT@ THE_XENUM 743s # @ENUMPREFIX@ PREFIX 743s # @enumsince@ the user-provided since value given 743s # @VALUENAME@ PREFIX_THE_XVALUE 743s # @valuenick@ the-xvalue 743s # @valuenum@ the integer value (limited support, Since: 2.26) 743s # @type@ either enum or flags 743s # @Type@ either Enum or Flags 743s # @TYPE@ either ENUM or FLAGS 743s # @filename@ name of current input file 743s # @basename@ base name of the current input file (Since: 2.22) 743s # Error: 743s ok 30 __main__.TestRspMkenums.test_no_args 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpr6af58uc 743s # rspfile: True 743s # Response file contains: 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr6af58uc/tmp3ihvga0o'] 743s # Return code: 0 743s # Output: 743s # /* 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. */ 743s # 743s # 743s # /* Generated data ends here */ 743s # Error: 743s ok 31 __main__.TestRspMkenums.test_no_headers 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpwgjgxbkm 743s # rspfile: True 743s # /tmp/tmpwgjgxbkm/tmp92apg5_k.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmpwgjgxbkm/tmp92apg5_k.template 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwgjgxbkm/tmpefrdts5m'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 32 __main__.TestRspMkenums.test_no_nick 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmphn2yqa1w 743s # rspfile: True 743s # /tmp/tmphn2yqa1w/tmp7vr7urg5.h: 743s # typedef enum { 743s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 743s # } GeglSamplerType; 743s # 743s # /tmp/tmphn2yqa1w/tmpcq7jhkrq.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmphn2yqa1w/tmpcq7jhkrq.template /tmp/tmphn2yqa1w/tmp7vr7urg5.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphn2yqa1w/tmppvzijj77'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmphn2yqa1w/tmp7vr7urg5.h 743s # basename: tmp7vr7urg5.h 743s # enumeration-production 743s # EnumName: GeglSamplerType 743s # enum_name: gegl_sampler_type 743s # ENUMNAME: GEGL_SAMPLER_TYPE 743s # ENUMSHORT: SAMPLER_TYPE 743s # ENUMPREFIX: GEGL 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: GeglSamplerType 743s # enum_name: gegl_sampler_type 743s # ENUMNAME: GEGL_SAMPLER_TYPE 743s # ENUMSHORT: SAMPLER_TYPE 743s # ENUMPREFIX: GEGL 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: GEGL_SAMPLER_NEAREST 743s # valuenick: nearest 743s # valuenum: 0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: GeglSamplerType 743s # enum_name: gegl_sampler_type 743s # ENUMNAME: GEGL_SAMPLER_TYPE 743s # ENUMSHORT: SAMPLER_TYPE 743s # ENUMPREFIX: GEGL 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmp4dxqyepl 743s # rspfile: True 743s # /tmp/tmp4dxqyepl/tmpshfuf82l.h: 743s # /* Copyright © La Peña */ 743s # typedef enum { 743s # ENUM_VALUE 743s # } SomeEnumIdentifier; 743s # 743s # /tmp/tmp4dxqyepl/tmpv8irrp8r.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmp4dxqyepl/tmpv8irrp8r.template /tmp/tmp4dxqyepl/tmpshfuf82l.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4dxqyepl/tmpv4rr3fbi'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmp4dxqyepl/tmpshfuf82l.h 743s # basename: tmpshfuf82l.h 743s # enumeration-production 743s # EnumName: SomeEnumIdentifier 743s # enum_name: some_enum_identifier 743s # ENUMNAME: SOME_ENUM_IDENTIFIER 743s # ENUMSHORT: ENUM_IDENTIFIER 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: SomeEnumIdentifier 743s # enum_name: some_enum_identifier 743s # ENUMNAME: SOME_ENUM_IDENTIFIER 743s # ENUMSHORT: ENUM_IDENTIFIER 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: ENUM_VALUE 743s # valuenick: value 743s # valuenum: 0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: SomeEnumIdentifier 743s # enum_name: some_enum_identifier 743s # ENUMNAME: SOME_ENUM_IDENTIFIER 743s # ENUMSHORT: ENUM_IDENTIFIER 743s # ENUMPREFIX: SOME 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 743s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 743s ok 34 __main__.TestRspMkenums.test_reproducible 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpm22gvsw_ 743s # rspfile: True 743s # /tmp/tmpm22gvsw_/tmp4r_fwcrn.template: template 743s # Response file contains: --template /tmp/tmpm22gvsw_/tmp4r_fwcrn.template /tmp/tmpm22gvsw_/tmphbj0yyfr1.h /tmp/tmpm22gvsw_/tmpzhalm26t2.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm22gvsw_/tmp1wn1mq3h'] 743s # Return code: 0 743s # Output: 743s # /* 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. */ 743s # 743s # 743s # /* Generated data ends here */ 743s # Error: 743s # 743s # /tmp/tmpm22gvsw_/tmp850qwrdy.template: template 743s # Response file contains: --template /tmp/tmpm22gvsw_/tmp850qwrdy.template /tmp/tmpm22gvsw_/tmpzhalm26t2.h /tmp/tmpm22gvsw_/tmphbj0yyfr1.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpm22gvsw_/tmp6ywobo4u'] 743s # Return code: 0 743s # Output: 743s # /* 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. */ 743s # 743s # 743s # /* Generated data ends here */ 743s # Error: 743s ok 35 __main__.TestRspMkenums.test_since 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmphz57h6yv 743s # rspfile: True 743s # /tmp/tmphz57h6yv/tmpl7i5b325.h: 743s # typedef enum { /*< since=1.0 >*/ 743s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 743s # } QmiWmsMessageProtocol; 743s # 743s # /tmp/tmphz57h6yv/tmp37pzjuzp.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmphz57h6yv/tmp37pzjuzp.template /tmp/tmphz57h6yv/tmpl7i5b325.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphz57h6yv/tmpu8feptnx'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmphz57h6yv/tmpl7i5b325.h 743s # basename: tmpl7i5b325.h 743s # enumeration-production 743s # EnumName: QmiWmsMessageProtocol 743s # enum_name: qmi_wms_message_protocol 743s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 743s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 743s # ENUMPREFIX: QMI 743s # enumsince: 1.0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: QmiWmsMessageProtocol 743s # enum_name: qmi_wms_message_protocol 743s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 743s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 743s # ENUMPREFIX: QMI 743s # enumsince: 1.0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 743s # valuenick: cdma 743s # valuenum: 0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: QmiWmsMessageProtocol 743s # enum_name: qmi_wms_message_protocol 743s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 743s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 743s # ENUMPREFIX: QMI 743s # enumsince: 1.0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s ok 36 __main__.TestRspMkenums.test_with_double_quotes 743s # glib-mkenums: /usr/bin/glib-mkenums 743s # tmpdir: /tmp/tmpc1bk76og 743s # rspfile: True 743s # /tmp/tmpc1bk76og/tmprzsm2g2_.h: 743s # typedef enum { 743s # FOO_VALUE /*< nick="eek, a comma" >*/ 743s # } Foo; 743s # 743s # /tmp/tmpc1bk76og/tmpfnfszr45.template: 743s # /*** BEGIN file-header ***/ 743s # file-header 743s # /*** END file-header ***/ 743s # 743s # /*** BEGIN file-production ***/ 743s # file-production 743s # filename: @filename@ 743s # basename: @basename@ 743s # /*** END file-production ***/ 743s # 743s # /*** BEGIN enumeration-production ***/ 743s # enumeration-production 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END enumeration-production ***/ 743s # 743s # /*** BEGIN value-header ***/ 743s # value-header 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-header ***/ 743s # 743s # /*** BEGIN value-production ***/ 743s # value-production 743s # VALUENAME: @VALUENAME@ 743s # valuenick: @valuenick@ 743s # valuenum: @valuenum@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-production ***/ 743s # 743s # /*** BEGIN value-tail ***/ 743s # value-tail 743s # EnumName: @EnumName@ 743s # enum_name: @enum_name@ 743s # ENUMNAME: @ENUMNAME@ 743s # ENUMSHORT: @ENUMSHORT@ 743s # ENUMPREFIX: @ENUMPREFIX@ 743s # enumsince: @enumsince@ 743s # type: @type@ 743s # Type: @Type@ 743s # TYPE: @TYPE@ 743s # /*** END value-tail ***/ 743s # 743s # /*** BEGIN comment ***/ 743s # comment 743s # comment: @comment@ 743s # /*** END comment ***/ 743s # 743s # /*** BEGIN file-tail ***/ 743s # file-tail 743s # /*** END file-tail ***/ 743s # 743s # Response file contains: --template /tmp/tmpc1bk76og/tmpfnfszr45.template /tmp/tmpc1bk76og/tmprzsm2g2_.h 743s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpc1bk76og/tmpnm79a147'] 743s # Return code: 0 743s # Output: 743s # comment 743s # 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. 743s # 743s # 743s # file-header 743s # file-production 743s # filename: /tmp/tmpc1bk76og/tmprzsm2g2_.h 743s # basename: tmprzsm2g2_.h 743s # enumeration-production 743s # EnumName: Foo 743s # enum_name: foo_ 743s # ENUMNAME: FOO_ 743s # ENUMSHORT: 743s # ENUMPREFIX: FOO 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-header 743s # EnumName: Foo 743s # enum_name: foo_ 743s # ENUMNAME: FOO_ 743s # ENUMSHORT: 743s # ENUMPREFIX: FOO 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-production 743s # VALUENAME: FOO_VALUE 743s # valuenick: eek, a comma 743s # valuenum: 0 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # value-tail 743s # EnumName: Foo 743s # enum_name: foo_ 743s # ENUMNAME: FOO_ 743s # ENUMSHORT: 743s # ENUMPREFIX: FOO 743s # enumsince: 743s # type: enum 743s # Type: Enum 743s # TYPE: ENUM 743s # file-tail 743s # 743s # comment 743s # comment: Generated data ends here 743s # Error: 743s 1..36 743s ok - glib/mkenums.py.test 743s # Running test: glib/simple-proxy.test 743s TAP version 14 743s # random seed: R02S3e4c35630f012cce492bf1d02e97e253 743s 1..3 743s # Start of static-proxy tests 743s ok 1 /static-proxy/uri 743s ok 2 /static-proxy/socks 743s ok 3 /static-proxy/ignore 743s # End of static-proxy tests 743s ok - glib/simple-proxy.test 743s # Running test: glib/642026-ec.test 743s TAP version 14 743s # random seed: R02S2c1d2bea52853212f6970bb565b87a18 743s 1..1 743s # Start of glib tests 743s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 743s ok - glib/642026-ec.test 743s ok 1 /glib/642026 743s # End of glib tests 743s # Running test: glib/gmenumodel.test 743s TAP version 14 743s # random seed: R02Sc0d56fe985a453532fd97ed8e8bf3fd0 743s 1..15 743s # Start of gmenu tests 743s # Executing: glib/gmenumodel.test 744s ok 1 /gmenu/equality 744s ok 2 /gmenu/random 744s ok 3 /gmenu/attributes 744s ok 4 /gmenu/links 744s ok 5 /gmenu/mutable 744s ok 6 /gmenu/convenience 744s ok 7 /gmenu/menuitem 744s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 744s ok 8 /gmenu/input-validation 744s # Start of dbus tests 745s ok 9 /gmenu/dbus/roundtrip 745s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 746s ok 10 /gmenu/dbus/subscriptions 746s ok 11 /gmenu/dbus/threaded 746s # slow test /gmenu/dbus/threaded executed in 0.65 secs 746s # Start of peer tests 747s ok 12 /gmenu/dbus/peer/roundtrip 747s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 748s ok 13 /gmenu/dbus/peer/subscriptions 748s # End of peer tests 748s # Start of export tests 748s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 748s ok 14 /gmenu/dbus/export/error-handling 748s # End of export tests 748s # End of dbus tests 748s # Start of attributes tests 748s ok 15 /gmenu/attributes/iterate 748s # End of attributes tests 748s # End of gmenu tests 748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 748s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 748s ok - glib/gmenumodel.test 748s # Running test: glib/dump.test 748s TAP version 14 748s # random seed: R02S4da86f2330a052f256a321ba2b558587 748s 1..4 748s # Start of dump tests 748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/home 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/cache 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/system-config1:/tmp/test_dump_3L4Z52/dump/empty-file/.dirs/system-config2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/config 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/system-data1:/tmp/test_dump_3L4Z52/dump/empty-file/.dirs/system-data2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/data 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/state 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3L4Z52/dump/empty-file/.dirs/runtime 748s ok 1 /dump/empty-file 748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/home 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/cache 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/system-config2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/config 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/system-data2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/data 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/state 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3L4Z52/dump/missing-get-type/.dirs/runtime 748s Invalid GType function: 'does_not_exist_get_type' 748s ok 2 /dump/missing-get-type 748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/home 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/cache 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/system-config2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/config 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/system-data2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/data 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/state 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3L4Z52/dump/missing-quark/.dirs/runtime 748s Invalid error quark function: 'does_not_exist_error' 748s ok 3 /dump/missing-quark 748s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_3L4Z52/dump/basic/.dirs/home 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_3L4Z52/dump/basic/.dirs/cache 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_3L4Z52/dump/basic/.dirs/system-config1:/tmp/test_dump_3L4Z52/dump/basic/.dirs/system-config2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_3L4Z52/dump/basic/.dirs/config 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_3L4Z52/dump/basic/.dirs/system-data1:/tmp/test_dump_3L4Z52/dump/basic/.dirs/system-data2 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_3L4Z52/dump/basic/.dirs/data 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_3L4Z52/dump/basic/.dirs/state 748s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_3L4Z52/dump/basic/.dirs/runtime 748s ok 4 /dump/basic 748s # End of dump tests 748s TAP version 14 748s # random seed: R02Sf983bc4fdfe3ee2974116aec73564c5f 748s 1..41 748s # Start of utils tests 748s ok 1 /utils/language-names 748s ok 2 /utils/locale-variants 748s ok 3 /utils/version 748s ok 4 /utils/appname 748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 748s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 748s ok 5 /utils/prgname-thread-safety 748s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 748s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 748s ok 6 /utils/tmpdir 748s ok 7 /utils/basic_bits 748s ok 8 /utils/bits 748s ok 9 /utils/swap 748s ok 10 /utils/find-program 748s ok 11 /utils/find-program-for-path 748s ok 12 /utils/debug 748s ok 13 /utils/codeset 748s ok 14 /utils/codeset2 748s ok 15 /utils/console-charset 748s ok 16 /utils/gettext 748s ok 17 /utils/username 748s ok 18 /utils/realname 748s ok 19 /utils/hostname 748s ok 20 /utils/xdgdirs 748s ok 21 /utils/specialdir 748s # NAME: Ubuntu 748s ok 22 /utils/os-info 748s ok 23 /utils/clear-pointer 748s ok 24 /utils/clear-pointer-cast 748s ok 25 /utils/take-pointer 748s ok 26 /utils/clear-source 748s ok 27 /utils/misc-mem 748s # /utils/aligned-mem summary: Aligned memory allocator 748s # Alignment must not be zero 748s # Alignment must be a power of two 748s # Alignment must be a multiple of sizeof(void*) 748s ok 28 /utils/aligned-mem 748s # /utils/free-sized summary: Check that g_free_sized() works 748s ok 29 /utils/free-sized 748s ok 30 /utils/nullify 748s ok 31 /utils/atexit 748s ok 32 /utils/check-setuid 748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 748s ok 33 /utils/int-limits 748s ok 34 /utils/clear-list 748s ok 35 /utils/clear-slist 748s ok 36 /utils/steal-handle-id 748s # Start of specialdir tests 748s ok 37 /utils/specialdir/desktop 748s # End of specialdir tests 748s # Start of clear-pointer tests 748s ok 38 /utils/clear-pointer/side-effects 748s # End of clear-pointer tests 748s # Start of aligned-mem tests 748s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 748s ok 39 /utils/aligned-mem/alignment 748s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 748s ok 40 /utils/aligned-mem/zeroed 748s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 748s ok 41 /utils/aligned-mem/free-sized 748s # Start of subprocess tests 748s # End of subprocess tests 748s # End of aligned-mem tests 748s # End of utils tests 748s TAP version 14 748s # random seed: R02S2f64f2ec7078769ae78aad9206fa85ac 748s 1..11 748s # Start of GObject tests 748s # Start of BindingGroup tests 748s ok 1 /GObject/BindingGroup/invalid 748s ok 2 /GObject/BindingGroup/default 748s ok 3 /GObject/BindingGroup/bidirectional 748s ok 4 /GObject/BindingGroup/transform 748s ok 5 /GObject/BindingGroup/transform-closures 748s ok 6 /GObject/BindingGroup/same-object 748s ok 7 /GObject/BindingGroup/weak-ref-source 748s ok 8 /GObject/BindingGroup/weak-ref-target 748s ok 9 /GObject/BindingGroup/properties 748s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 748s ok 11 /GObject/BindingGroup/empty-closures 748s # End of BindingGroup tests 748s # End of GObject tests 748s TAP version 14 748s # random seed: R02Sd190003c1c421432517b5fce76142105 748s 1..36 748s # Start of gtask tests 748s ok 1 /gtask/basic 748s ok 2 /gtask/error 748s ok 3 /gtask/error-literal 748s ok 4 /gtask/error-literal-from-variable 748s ok 5 /gtask/return-from-same-iteration 748s ok 6 /gtask/return-from-toplevel 748s ok 7 /gtask/return-from-anon-thread 748s ok 8 /gtask/return-from-wrong-thread 748s ok 9 /gtask/no-callback 748s ok 10 /gtask/report-error 748s ok 11 /gtask/priority 748s ok 12 /gtask/name 748s ok 13 /gtask/static-name 748s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 748s ok - glib/dump.test 748s # Running test: glib/utils-c-11.test 748s ok - glib/utils-c-11.test 748s # Running test: glib/bindinggroup.test 748s ok - glib/bindinggroup.test 748s # Running test: glib/task.test 748s ok 14 /gtask/asynchronous-cancellation 748s ok 15 /gtask/check-cancellable 748s ok 16 /gtask/return-if-cancelled 748s ok 17 /gtask/run-in-thread 748s ok 18 /gtask/run-in-thread-sync 748s ok 19 /gtask/run-in-thread-priority 748s ok 20 /gtask/run-in-thread-nested 748s # Executing: glib/task.test 749s ok 21 /gtask/run-in-thread-overflow 749s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 749s # GLib-GIO-DEBUG: GTask 0x5ad75a134790 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 749s # GLib-GIO-DEBUG: GTask 0x5ad75a134920 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 749s ok 22 /gtask/return-on-cancel 749s # GLib-GIO-DEBUG: GTask 0x5ad75a0c9ea0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 749s # GLib-GIO-DEBUG: GTask 0x5ad75a0c95e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 749s ok 23 /gtask/return-on-cancel-sync 749s ok 24 /gtask/return-on-cancel-atomic 749s ok 25 /gtask/return-pointer 749s ok 26 /gtask/return-value 749s ok 27 /gtask/return-prefixed-error 749s ok 28 /gtask/object-keepalive 749s ok 29 /gtask/legacy-error 749s ok 30 /gtask/finalize-without-return 749s # Start of name tests 749s ok 31 /gtask/name/macro-wrapper 749s # End of name tests 749s # Start of return tests 749s ok 32 /gtask/return/error-first 749s ok 33 /gtask/return/value-first 749s # Start of in-idle tests 749s ok 34 /gtask/return/in-idle/error-first 749s ok 35 /gtask/return/in-idle/value-first 749s # End of in-idle tests 749s ok - glib/task.test 749s # Running test: glib/gdbus-address-get-session.test 749s ok - glib/gdbus-address-get-session.test 749s # Running test: glib/testfilemonitor.test 749s ok - glib/testfilemonitor.test 749s # Running test: glib/spawn-multithreaded.test 749s # End of return tests 749s # Start of attach-source tests 749s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 749s ok 36 /gtask/attach-source/set-name 749s # End of attach-source tests 749s # End of gtask tests 749s TAP version 14 749s # random seed: R02S97ac52eb71725ca8b76a619fea3b98b9 749s 1..2 749s # Start of gdbus tests 749s ok 1 /gdbus/x11-autolaunch 749s ok 2 /gdbus/xdg-runtime 749s # End of gdbus tests 749s TAP version 14 749s # random seed: R02S037d41e4cae506c380acde42cc961fe5 749s 1..8 749s # Start of monitor tests 749s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 749s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 749s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 749s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s # Start of file tests 749s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 749s # End of file tests 749s # End of monitor tests 749s TAP version 14 749s # random seed: R02Sbd92cd57a0268a8a1c78cbdc42ae6277 749s 1..4 749s # Start of gthread tests 750s # Child 13180 (ttl 1) exited, status 0 751s # Child 13181 (ttl 2) exited, status 0 751s ok 1 /gthread/spawn-childs 751s # slow test /gthread/spawn-childs executed in 2.00 secs 751s # Created pid: 13185 (ttl 1) 751s # Created pid: 13186 (ttl 2) 752s # Child 13185 (ttl 1) exited, status 0 753s # Child 13186 (ttl 2) exited, status 0 753s ok 2 /gthread/spawn-childs-threads 753s # slow test /gthread/spawn-childs-threads executed in 2.01 secs 753s ok 3 /gthread/spawn-sync 753s ok 4 /gthread/spawn-async 753s # End of gthread tests 753s ok - glib/spawn-multithreaded.test 753s # Running test: glib/sort.test 753s TAP version 14 753s # random seed: R02S9eef31746fe489660f0d7964718cacc1 753s 1..5 753s # Start of sort tests 753s ok 1 /sort/basic 753s ok 2 /sort/zero-elements 753s ok 3 /sort/stable 753s ok 4 /sort/big 753s ok - glib/sort.test 753s # Running test: glib/portal-support-env-var.test 753s ok - glib/portal-support-env-var.test 753s # Running test: glib/tls-database.test 753s ok - glib/tls-database.test 753s # Running test: glib/gdbus-proxy-well-known-name.test 753s ok 5 /sort/deprecated 753s # End of sort tests 753s TAP version 14 753s # random seed: R02S968a8bc12bd71b8ced8e5c8045d359b6 753s 1..1 753s # Start of portal-support tests 753s ok 1 /portal-support/env-var 753s # End of portal-support tests 753s TAP version 14 753s # random seed: R02Sdcd0bb87386c015cba2ac50659c9c0d6 753s 1..1 753s # Start of tls-backend tests 753s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 753s ok 1 /tls-backend/set-default-database 753s # End of tls-backend tests 753s TAP version 14 753s # random seed: R02S77a5942633722fcb85c1060b77adb53c 753s 1..1 753s # Start of gdbus tests 753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/home 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/cache 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/system-config2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/config 753s ok - glib/gdbus-proxy-well-known-name.test 753s # Running test: glib/vfs.test 753s ok - glib/vfs.test 753s # Running test: glib/cxx-98.test 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/system-data2 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/data 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/state 753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_BYMW52/gdbus/proxy-well-known-name/.dirs/runtime 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s ok 1 /gdbus/proxy-well-known-name 753s # End of gdbus tests 753s TAP version 14 753s # random seed: R02S50da5d3caaf6525febb9068a5bdeba4d 753s 1..3 753s # Start of gvfs tests 753s ok 1 /gvfs/local 753s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 753s ok 2 /gvfs/register-scheme 753s # Start of resource tests 753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 753s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 753s ok 3 /gvfs/resource/malformed-escaping 753s # End of resource tests 753s # End of gvfs tests 753s ok - glib/cxx-98.test 753s # Running test: glib/actions.test 753s TAP version 14 753s # random seed: R02S59af5d04330145ddb31b01af3f9b634c 753s 1..2 753s # Start of gtask tests 753s # 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. 753s ok 1 /gtask/name 753s # Start of name tests 753s # 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. 753s ok 2 /gtask/name/macro-wrapper 753s # End of name tests 753s # End of gtask tests 753s TAP version 14 753s # random seed: R02S98c354810577549efde6d4980e6e6ec0 753s 1..13 753s # Start of actions tests 753s ok 1 /actions/basic 753s ok 2 /actions/name 753s ok 3 /actions/simplegroup 753s ok 4 /actions/stateful 753s ok 5 /actions/default-activate 753s ok 6 /actions/entries 753s ok 7 /actions/parse-detailed 753s ok 8 /actions/property 753s ok 9 /actions/no-properties 753s # Start of dbus tests 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s ok 10 /actions/dbus/export 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 753s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 753s # Executing: glib/actions.test 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 11 /actions/dbus/threaded 754s # slow test /actions/dbus/threaded executed in 1.00 secs 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 12 /actions/dbus/bug679509 754s # Start of export tests 754s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 754s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 13 /actions/dbus/export/error-handling 754s # End of export tests 754s # End of dbus tests 754s # End of actions tests 754s ok - glib/actions.test 754s # Running test: glib/memory-monitor-dbus.test 754s TAP version 13 754s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 754s 1..1 754s ok - glib/memory-monitor-dbus.test 754s # Running test: glib/gdbus-subscribe.test 754s TAP version 14 754s # random seed: R02S5186576c5a5e5506694b89fcb43d271e 754s 1..24 754s # Start of gdbus tests 754s # Start of subscribe tests 754s # Start of conn tests 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/simple/.dirs/runtime 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 754s # Step 0: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 1: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 2: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 2 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 1 /gdbus/subscribe/conn/simple 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 754s # Step 0: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: service 2 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 3: emitting signal 754s # Sender: service 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 4: emitting signal 754s # Sender: service 2 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 1 754s # Signal received from service 2 :1.2 754s # Signal received from service 2 :1.2 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 2 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 3 754s # Signal received from service 2 :1.2 754s # Signal received from service 2 :1.2 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/match_twice/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 754s # Step 0: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 1: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: (any) 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 2: adding subscription 754s # Sender: (any) 754s # Path: (any) 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 3: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 4: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 3 /gdbus/subscribe/conn/match_twice 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 754s # Step 0: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 3: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 3 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 754s # Step 0: adding subscription 754s # Sender: :0.this.had.better.not.exist 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /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 754s # Step 0: claiming bus name 754s # Name: org.gtk.Test.AlreadyOwned 754s # Owner: service 754s # Step 1: adding subscription 754s # Sender: org.gtk.Test.AlreadyOwned 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 2: adding subscription 754s # Sender: org.gtk.Test.OwnedLater 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 3: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 4: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 5: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 6: claiming bus name 754s # Name: org.gtk.Test.OwnedLater 754s # Owner: service 754s # Step 7: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 5 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 754s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 754s # Step 0: adding subscription 754s # Sender: org.freedesktop.DBus 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # String argument 0: would I lie to you? 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # Waiting for signal to reach message bus 754s # Step 3: claiming bus name 754s # Name: org.gtk.Test.OwnedLater 754s # Owner: service 754s # Signal received from message bus org.freedesktop.DBus 754s # Signal received from (unused) org.freedesktop.DBus via connection 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 754s # Step 0: claiming bus name 754s # Name: org.gtk.Test.AlreadyOwned 754s # Owner: service 754s # Step 1: adding subscription 754s # Sender: org.gtk.Test.AlreadyOwned 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Immediately unsubscribing 754s # Waiting for AddMatch to be processed 754s # Step 2: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 754s # End of conn tests 754s # Start of proxy tests 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/simple/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 754s # Step 0: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 1: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 2: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 9 /gdbus/subscribe/proxy/simple 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 754s # Step 0: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: service 2 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 3: emitting signal 754s # Sender: service 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 4: emitting signal 754s # Sender: service 2 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/match_twice/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 754s # Step 0: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: (any) 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 2: adding subscription 754s # Sender: (any) 754s # Path: (any) 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 3: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 4: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 11 /gdbus/subscribe/proxy/match_twice 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 754s # Step 0: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 3: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 3 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 754s # Step 0: adding subscription 754s # Sender: :0.this.had.better.not.exist 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /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 754s # Step 0: claiming bus name 754s # Name: org.gtk.Test.AlreadyOwned 754s # Owner: service 754s # Step 1: adding subscription 754s # Sender: org.gtk.Test.AlreadyOwned 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 2: adding subscription 754s # Sender: org.gtk.Test.OwnedLater 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 3: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 4: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 5: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 6: claiming bus name 754s # Name: org.gtk.Test.OwnedLater 754s # Owner: service 754s # Step 7: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 5 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 754s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 754s # Step 0: adding subscription 754s # Sender: org.freedesktop.DBus 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # String argument 0: would I lie to you? 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # Waiting for signal to reach message bus 754s # Step 3: claiming bus name 754s # Name: org.gtk.Test.OwnedLater 754s # Owner: service 754s # Signal received from message bus org.freedesktop.DBus 754s # Signal received from (unused) org.freedesktop.DBus via proxy 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 754s # Step 0: claiming bus name 754s # Name: org.gtk.Test.AlreadyOwned 754s # Owner: service 754s # Step 1: adding subscription 754s # Sender: org.gtk.Test.AlreadyOwned 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 2: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 2 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 754s # End of proxy tests 754s # Start of parallel tests 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/simple/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 754s # Step 0: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 1: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 2: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 2 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 17 /gdbus/subscribe/parallel/simple 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 754s # Step 0: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: service 2 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 3: emitting signal 754s # Sender: service 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 4: emitting signal 754s # Sender: service 2 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 1 754s # Signal received from service 2 :1.2 754s # Signal received from service 2 :1.2 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 2 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 3 754s # Signal received from service 2 :1.2 754s # Signal received from service 2 :1.2 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/match_twice/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 754s # Step 0: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: adding subscription 754s # Sender: (any) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: (any) 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 2: adding subscription 754s # Sender: (any) 754s # Path: (any) 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Cannot subscribe via proxy: no bus name 754s # Waiting for AddMatch to be processed 754s # Step 3: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 4: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 4 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 754s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 19 /gdbus/subscribe/parallel/match_twice 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 754s # Step 0: adding subscription 754s # Sender: service :1.1 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 3: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 3 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 3 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 754s # Step 0: adding subscription 754s # Sender: :0.this.had.better.not.exist 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /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 754s # Step 0: claiming bus name 754s # Name: org.gtk.Test.AlreadyOwned 754s # Owner: service 754s # Step 1: adding subscription 754s # Sender: org.gtk.Test.AlreadyOwned 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 2: adding subscription 754s # Sender: org.gtk.Test.OwnedLater 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 3: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 4: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 5: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Step 6: claiming bus name 754s # Name: org.gtk.Test.OwnedLater 754s # Owner: service 754s # Step 7: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 5 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 5 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via connection 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 7 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 754s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 754s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 754s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 754s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 754s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 754s # Step 0: adding subscription 754s # Sender: org.freedesktop.DBus 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 1: emitting signal 754s # Sender: attacker 754s # Destination: (broadcast) 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # String argument 0: would I lie to you? 754s # Waiting for signal to reach message bus 754s # Step 2: emitting signal 754s # Sender: attacker 754s # Destination: subscriber :1.0 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # Waiting for signal to reach message bus 754s # Step 3: claiming bus name 754s # Name: org.gtk.Test.OwnedLater 754s # Owner: service 754s # Signal received from message bus org.freedesktop.DBus 754s # Signal received from (unused) org.freedesktop.DBus via connection 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # Signal received from message bus org.freedesktop.DBus 754s # Signal received from (unused) org.freedesktop.DBus via proxy 754s # Path: /org/freedesktop/DBus 754s # Interface: org.freedesktop.DBus 754s # Member: NameOwnerChanged 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 754s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 754s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 754s ok - glib/gdbus-subscribe.test 754s # Running test: glib/slice.test 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_CBLC62/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 754s # subscriber is :1.0 754s # service is :1.1 754s # service 2 is :1.2 754s # attacker is :1.3 754s # Waiting for AddMatch to be processed 754s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 754s # Step 0: claiming bus name 754s # Name: org.gtk.Test.AlreadyOwned 754s # Owner: service 754s # Step 1: adding subscription 754s # Sender: org.gtk.Test.AlreadyOwned 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: (any) 754s # String argument 0: (any) 754s # Flags: 0 754s # Subscribing via connection 754s # Immediately unsubscribing 754s # Subscribing via proxy 754s # Waiting for AddMatch to be processed 754s # Step 2: emitting signal 754s # Sender: service 754s # Destination: (broadcast) 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Waiting for signal to reach message bus 754s # Signal received from service :1.1 754s # Signal received from service :1.1 via proxy 754s # Path: /org/gtk/GDBus/ExampleInterface 754s # Interface: org.gtk.GDBus.ExampleInterface 754s # Member: Foo 754s # Argument 0: (not a string) 754s # Sent in step: 2 754s # Received Finished signal from subscriber :1.0 754s # Received Finished signal from service :1.1 754s # Received Finished signal from service 2 :1.2 754s # Received Finished signal from attacker :1.3 754s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 754s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 754s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 754s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 754s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 754s # End of parallel tests 754s # End of subscribe tests 754s # End of gdbus tests 754s TAP version 14 754s # random seed: R02S59574abd70a890920bb1a2aca19e332c 754s 1..3 754s # Start of slice tests 754s ok 1 /slice/copy 754s ok 2 /slice/chain 754s ok 3 /slice/allocate 754s # End of slice tests 755s ok - glib/slice.test 755s # Running test: glib/dir.test 755s TAP version 14 755s # random seed: R02Sfaf2e400d094ba0de9a06f521dc01f92 755s 1..3 755s # Start of dir tests 755s ok 1 /dir/read 755s ok 2 /dir/nonexisting 755s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 755s ok 3 /dir/refcounting 755s # End of dir tests 755s ok - glib/dir.test 755s # Running test: glib/test-printf.test 755s TAP version 14 755s # random seed: R02Sa837c224609e74fc34188914ef145513 755s 1..22 755s # Start of snprintf tests 755s ok 1 /snprintf/retval-and-trunc 755s ok 2 /snprintf/%d 755s ok 3 /snprintf/%d-invalid 755s ok 4 /snprintf/%o 755s ok 5 /snprintf/%u 755s ok 6 /snprintf/%x 755s ok 7 /snprintf/%X 755s ok 8 /snprintf/%f 755s ok 9 /snprintf/%e 755s ok 10 /snprintf/%c 755s ok 11 /snprintf/%s 755s ok 12 /snprintf/%n 755s ok 13 /snprintf/test-percent 755s ok 14 /snprintf/test-positional-params 755s ok 15 /snprintf/test-64bit 755s # End of snprintf tests 755s # Start of printf tests 755s ok 16 /printf/test-percent 755s ok 17 /printf/test-positional-params 755s ok 18 /printf/test-64bit 755s # Start of test-64bit tests 755s # Start of subprocess tests 755s # End of subprocess tests 755s # End of test-64bit tests 755s # End of printf tests 755s # Start of sprintf tests 755s ok 19 /sprintf/test-positional-params 755s ok 20 /sprintf/upper-bound 755s # End of sprintf tests 755s # Start of vasprintf tests 755s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 755s ok 21 /vasprintf/invalid-format-placeholder 755s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 755s ok 22 /vasprintf/invalid-wide-string 755s # End of vasprintf tests 755s ok - glib/test-printf.test 755s # Running test: glib/atomic-c-99.test 755s TAP version 14 755s # random seed: R02Se57eaf8cb87552e4cc48ec47d1306ae3 755s 1..2 755s # Start of atomic tests 755s ok 1 /atomic/types 755s ok 2 /atomic/threaded 755s # End of atomic tests 755s ok - glib/atomic-c-99.test 755s # Running test: glib/win32-appinfo.test 755s TAP version 14 755s # random seed: R02Sb1034300fb2b5ead6ba0ae899aeb49fa 755s 1..5 755s # Start of appinfo tests 755s ok 1 /appinfo/utf16-strfuncs 755s ok 2 /appinfo/win32-extract-executable 755s ok 3 /appinfo/win32-rundll32-fixup 755s ok 4 /appinfo/win32-parse-filename 755s ok 5 /appinfo/win32-utf16-conversion-fail 755s # Start of subprocess tests 755s # End of subprocess tests 755s # End of appinfo tests 755s ok - glib/win32-appinfo.test 755s # Running test: glib/appmonitor.test 755s TAP version 14 755s # random seed: R02S299daf67eede2fd0d662ee251f5b93cc 755s 1..1 755s # Start of monitor tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/runtime 755s # Using data directory: /tmp/test_appmonitor_DY7Y52/monitor/app/.dirs/data 755s ok 1 /monitor/app 755s # End of monitor tests 755s ok - glib/appmonitor.test 755s # Running test: glib/gio-tool.py.test 755s TAP version 13 755s ok 1 __main__.TestGioTool.test_help 755s # gio: /usr/bin/gio 755s # tmpdir: /tmp/tmp845o10hi 755s # Running: ['/usr/bin/gio', '--help'] 755s # Return code: 0 755s # Output: 755s # Usage: 755s # gio COMMAND [ARGS…] 755s # 755s # Commands: 755s # help Print help 755s # version Print version 755s # cat Concatenate files to standard output 755s # copy Copy one or more files 755s # info Show information about locations 755s # launch Launch an application from a desktop file 755s # list List the contents of locations 755s # mime Get or set the handler for a mimetype 755s # mkdir Create directories 755s # monitor Monitor files and directories for changes 755s # mount Mount or unmount the locations 755s # move Move one or more files 755s # open Open files with the default application 755s # rename Rename a file 755s # remove Delete one or more files 755s # save Read from standard input and save 755s # set Set a file attribute 755s # trash Move files or directories to the trash 755s # tree Lists the contents of locations in a tree 755s # 755s # Use “gio help COMMAND†to get detailed help. 755s # Error: 755s # 755s # Running: ['/usr/bin/gio', 'help'] 755s # Return code: 0 755s # Output: 755s # Usage: 755s # gio COMMAND [ARGS…] 755s # 755s # Commands: 755s # help Print help 755s # version Print version 755s # cat Concatenate files to standard output 755s # copy Copy one or more files 755s # info Show information about locations 755s # launch Launch an application from a desktop file 755s # list List the contents of locations 755s # mime Get or set the handler for a mimetype 755s # mkdir Create directories 755s # monitor Monitor files and directories for changes 755s # mount Mount or unmount the locations 755s # move Move one or more files 755s # open Open files with the default application 755s # rename Rename a file 755s # remove Delete one or more files 755s # save Read from standard input and save 755s # set Set a file attribute 755s # trash Move files or directories to the trash 755s # tree Lists the contents of locations in a tree 755s # 755s # Use “gio help COMMAND†to get detailed help. 755s # Error: 755s ok 2 __main__.TestGioTool.test_info_non_default_attributes 755s # gio: /usr/bin/gio 755s # tmpdir: /tmp/tmp60z2h186 755s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp60z2h186/tmp11lsz25r'] 755s # Return code: 0 755s # Output: 755s # uri: file:///tmp/tmp60z2h186/tmp11lsz25r 755s # local path: /tmp/tmp60z2h186/tmp11lsz25r 755s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 755s # attributes: 755s # standard::content-type: application/x-zerosize 755s # Error: 755s ok 3 __main__.TestGioTool.test_no_args 755s # gio: /usr/bin/gio 755s # tmpdir: /tmp/tmpvu420lmi 755s # Running: ['/usr/bin/gio'] 755s # Return code: 1 755s # Output: 755s # 755s # Error: 755s # Usage: 755s # gio COMMAND [ARGS…] 755s # 755s # Commands: 755s # help Print help 755s # version Print version 755s # cat Concatenate files to standard output 755s # copy Copy one or more files 755s # info Show information about locations 755s # launch Launch an application from a desktop file 755s # list List the contents of locations 755s # mime Get or set the handler for a mimetype 755s # mkdir Create directories 755s # monitor Monitor files and directories for changes 755s # mount Mount or unmount the locations 755s # move Move one or more files 755s # open Open files with the default application 755s # rename Rename a file 755s # remove Delete one or more files 755s # save Read from standard input and save 755s # set Set a file attribute 755s # trash Move files or directories to the trash 755s # tree Lists the contents of locations in a tree 755s # 755s # Use “gio help COMMAND†to get detailed help. 755s 1..3 755s ok - glib/gio-tool.py.test 755s # Running test: glib/relation.test 755s TAP version 14 755s # random seed: R02Sd7d36d48cb0c2110656a80176fa118db 755s 1..1 755s # Start of glib tests 755s ok 1 /glib/relation 755s # End of glib tests 755s ok - glib/relation.test 755s # Running test: glib/signals-refcount4.test 755s TAP version 14 755s # random seed: R02Sb3f8e557a1de3aabef199a3299dc5e14 755s 1..1 755s # Start of gobject tests 755s # Start of refcount tests 755s # init 0x5559e6025dd0 755s # 755s # init 0x5559e6022310 755s # 758s # Executing: glib/signals-refcount4.test 760s # dispose 0x5559e6025dd0! 760s # 760s # dispose 0x5559e6022310! 760s # 760s ok 1 /gobject/refcount/signals 760s # slow test /gobject/refcount/signals executed in 5.00 secs 760s # End of refcount tests 760s # End of gobject tests 760s ok - glib/signals-refcount4.test 760s # Running test: glib/signalgroup.test 760s TAP version 14 760s # random seed: R02S384ddc1ae82fd45ba5200ad7186ae494 760s 1..9 760s # Start of GObject tests 760s # Start of SignalGroup tests 760s ok 1 /GObject/SignalGroup/invalid 760s ok 2 /GObject/SignalGroup/simple 760s ok 3 /GObject/SignalGroup/changing-target 760s ok 4 /GObject/SignalGroup/blocking 760s ok 5 /GObject/SignalGroup/weak-ref-target 760s ok 6 /GObject/SignalGroup/connect-object 760s ok 7 /GObject/SignalGroup/signal-parsing 760s ok - glib/signalgroup.test 760s # Running test: glib/mappedfile.test 760s ok - glib/mappedfile.test 760s # Running test: glib/init.test 760s ok 8 /GObject/SignalGroup/properties 760s ok 9 /GObject/SignalGroup/interface 760s # Start of signal-parsing tests 760s # End of signal-parsing tests 760s # End of SignalGroup tests 760s # End of GObject tests 760s TAP version 14 760s # random seed: R02S9e925f753230aea697f5e91da29e5092 760s 1..7 760s # Start of mappedfile tests 760s ok 1 /mappedfile/basic 760s ok 2 /mappedfile/empty 760s ok 3 /mappedfile/device 760s ok 4 /mappedfile/nonexisting 760s ok 5 /mappedfile/writable 760s ok 6 /mappedfile/writable_fd 760s ok 7 /mappedfile/gbytes 760s # End of mappedfile tests 760s TAP version 14 760s # random seed: R02Sa67718460ad8f0dc7434db5002beafac 760s 1..2 760s # Start of thread tests 760s # Start of deprecated tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_OZQW52/thread/deprecated/init/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_OZQW52/thread/deprecated/init/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_OZQW52/thread/deprecated/init/.dirs/runtime 760s ok 1 /thread/deprecated/init 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_OZQW52/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 760s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 760s # End of deprecated tests 760s # End of thread tests 760s TAP version 14 760s # random seed: R02S96b8b7daf447a7a70195337afa74750d 760s 1..1 760s # Start of portal-support tests 760s # Start of flatpak tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/config 760s ok - glib/init.test 760s # Running test: glib/portal-support-flatpak-none.test 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/runtime 760s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_VEAW52/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 760s ok 1 /portal-support/flatpak/none 760s # End of flatpak tests 760s # End of portal-support tests 760s TAP version 14 760s # random seed: R02S1e241ae0458d5f19efc5475370003b33 760s 1..1 760s # Start of gdbus tests 760s # Start of proxy tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_ZX6V52/gdbus/proxy/vs-threads/.dirs/runtime 760s ok - glib/portal-support-flatpak-none.test 760s # Running test: glib/gdbus-proxy-threads.test 760s ok 1 /gdbus/proxy/vs-threads 760s # End of proxy tests 760s # End of gdbus tests 760s cleaning up pid 13368 760s ok - glib/gdbus-proxy-threads.test 760s # Running test: glib/utils-isolated.test 760s TAP version 14 760s # random seed: R02S02f35ca3e3563dd28975be0330099430 760s 1..11 760s # Start of utils-isolated tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/tmp-dir/.dirs/runtime 760s ok 1 /utils-isolated/tmp-dir 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/home-dir/.dirs/runtime 760s ok 2 /utils-isolated/home-dir 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/user-cache-dir/.dirs/runtime 760s ok 3 /utils-isolated/user-cache-dir 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/system-config-dirs/.dirs/runtime 760s ok 4 /utils-isolated/system-config-dirs 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/user-config-dir/.dirs/runtime 760s ok 5 /utils-isolated/user-config-dir 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/system-data-dirs/.dirs/runtime 760s ok 6 /utils-isolated/system-data-dirs 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/user-data-dir/.dirs/runtime 760s ok 7 /utils-isolated/user-data-dir 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/user-state-dir/.dirs/runtime 760s ok 8 /utils-isolated/user-state-dir 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/user-runtime-dir/.dirs/runtime 760s ok 9 /utils-isolated/user-runtime-dir 760s # Start of cleanup tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/runtime 760s ok - glib/utils-isolated.test 760s # Running test: glib/gdbus-connection.test 760s Unable to clean up temporary directory /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 760s Unable to clean up temporary directory /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 760s Unable to clean up temporary directory /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/handles-errors: Directory not empty 760s ok 10 /utils-isolated/cleanup/handles-errors 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 760s Unable to clean up temporary directory /tmp/test_utils-isolated_NF5852/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 760s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 760s # End of cleanup tests 760s # End of utils-isolated tests 760s TAP version 14 760s # random seed: R02S40da93e963a8c72917c4d48d11567a35 760s 1..9 760s # Start of gdbus tests 760s # Start of connection tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/bus-failure/.dirs/runtime 760s ok 1 /gdbus/connection/bus-failure 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/basic/.dirs/runtime 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 2 /gdbus/connection/basic 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/life-cycle/.dirs/runtime 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 3 /gdbus/connection/life-cycle 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/send/.dirs/runtime 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 4 /gdbus/connection/send 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/signals/.dirs/runtime 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 5 /gdbus/connection/signals 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/signal-match-rules/.dirs/runtime 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 6 /gdbus/connection/signal-match-rules 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/filter/.dirs/runtime 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 7 /gdbus/connection/filter 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/serials/.dirs/runtime 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 8 /gdbus/connection/serials 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_30X852/gdbus/connection/cancel/.dirs/runtime 760s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 760s ok - glib/gdbus-connection.test 760s # Running test: glib/accumulator.test 760s ok - glib/accumulator.test 760s # Running test: glib/bitlock.test 760s ok - glib/bitlock.test 760s # Running test: glib/gdbus-non-socket.test 760s ok - glib/gdbus-non-socket.test 760s # Running test: glib/private.test 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 760s ok 9 /gdbus/connection/cancel 760s # End of connection tests 760s # End of gdbus tests 760s TAP version 14 760s # random seed: R02S0026225cb5dc0d1f76662dc922c4d025 760s 1..1 760s # Start of gobject tests 760s ok 1 /gobject/accumulator 760s # End of gobject tests 760s TAP version 14 760s # random seed: R02S3d1cdd1d21d912b00e23778e7f1a7185 760s 1..1 760s # Start of bitlock tests 760s # Start of performance tests 760s # max perf: iterations per second 760s ok 1 /bitlock/performance/uncontended 760s # End of performance tests 760s # End of bitlock tests 760s TAP version 14 760s # random seed: R02S743dc86fcaa86a85fd8309e89c591d21 760s 1..1 760s # Start of gdbus tests 760s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/home 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/cache 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/system-config2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/config 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/system-data2 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/data 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/state 760s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_QCI752/gdbus/non-socket/.dirs/runtime 760s ok 1 /gdbus/non-socket 760s # End of gdbus tests 760s TAP version 14 760s # random seed: R02Sa99422f5b42e26f88b03350a2812f693 760s 1..8 760s # Start of thread tests 760s ok 1 /thread/private1 761s ok 2 /thread/private2 761s # slow test /thread/private2 executed in 1.12 secs 761s ok 3 /thread/private3 761s ok 4 /thread/staticprivate1 761s ok 5 /thread/staticprivate2 761s ok 6 /thread/staticprivate3 762s ok 7 /thread/staticprivate4 762s # slow test /thread/staticprivate4 executed in 1.10 secs 762s ok 8 /thread/staticprivate5 762s # End of thread tests 762s ok - glib/private.test 762s # Running test: glib/object-info.test 763s TAP version 14 763s # random seed: R02S0e20f8693a16d70f235da46ae2bab726 763s 1..2 763s # Start of object-info tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_TQX352/object-info/find-method-using-interfaces/.dirs/runtime 763s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 763s ok 1 /object-info/find-method-using-interfaces 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_TQX352/object-info/find-vfunc-using-interfaces/.dirs/runtime 763s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 763s ok 2 /object-info/find-vfunc-using-interfaces 763s # End of object-info tests 763s ok - glib/object-info.test 763s # Running test: glib/defaultvalue.test 763s TAP version 14 763s # random seed: R02S04dcae5a889ff18295612a42040304ed 763s 1..84 763s # Start of Default Values tests 763s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 763s ok 2 /Default Values/GAppLaunchContext 763s ok 3 /Default Values/GApplicationCommandLine 763s # skipping GApplication:is-remote 763s ok 4 /Default Values/GApplication 763s ok 5 /Default Values/GBinding # SKIP mandatory construct params 763s ok 6 /Default Values/GBindingGroup 763s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 763s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 763s ok 9 /Default Values/GBytesIcon 763s ok 10 /Default Values/GCancellable 763s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 763s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 763s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 763s ok 14 /Default Values/GCredentials 763s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 763s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 763s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 763s ok 18 /Default Values/GDBusAuthObserver 763s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 763s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 763s ok 21 /Default Values/GDBusMessage 763s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 763s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 763s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 763s ok 25 /Default Values/GDBusObjectProxy 763s ok 26 /Default Values/GDBusObjectSkeleton 763s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 763s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 763s ok 29 /Default Values/GEmblem 763s ok 30 /Default Values/GEmblemedIcon 763s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 763s ok 32 /Default Values/GFileInfo 763s ok 33 /Default Values/GFileInputStream 763s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 763s ok 35 /Default Values/GFileOutputStream 763s ok 36 /Default Values/GFilenameCompleter 763s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 763s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 763s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 763s ok 40 /Default Values/GInitiallyUnowned 763s ok 41 /Default Values/GIOModule 763s ok 42 /Default Values/GListStore 763s ok 43 /Default Values/GMemoryInputStream 763s ok 44 /Default Values/GMemoryOutputStream 763s ok 45 /Default Values/GMenu 763s ok 46 /Default Values/GMenuItem 763s ok 47 /Default Values/GMountOperation 763s ok 48 /Default Values/GNativeSocketAddress 763s ok 49 /Default Values/GNetworkAddress 763s ok 50 /Default Values/GNetworkService 763s ok 51 /Default Values/GNotification 763s ok 52 /Default Values/GObject 763s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 763s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 763s # skipping GProxyAddressEnumerator:proxy-resolver 763s ok 54 /Default Values/GProxyAddressEnumerator 763s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 763s ok 56 /Default Values/GSettings # SKIP mandatory construct params 763s ok 57 /Default Values/GSignalGroup 763s ok - glib/defaultvalue.test 763s # Running test: glib/pattern.test 763s ok - glib/pattern.test 763s # Running test: glib/objects-refcount1.test 763s ok 58 /Default Values/GSimpleAction 763s ok 59 /Default Values/GSimpleActionGroup 763s ok 60 /Default Values/GSimpleAsyncResult 763s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 763s ok 62 /Default Values/GSimplePermission 763s ok 63 /Default Values/GSimpleProxyResolver 763s # skipping GSocketClient:proxy-resolver 763s ok 64 /Default Values/GSocketClient 763s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 763s ok 66 /Default Values/GSocket # SKIP initialization failed 763s ok 67 /Default Values/GSocketListener 763s ok 68 /Default Values/GSocketService 763s ok 69 /Default Values/GSubprocess # SKIP initialization failed 763s ok 70 /Default Values/GSubprocessLauncher 763s # GLib-GIO-DEBUG: GTask 0x5faaf013df30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 763s ok 71 /Default Values/GTask 763s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 763s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 763s ok 74 /Default Values/GTestDBus 763s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 763s ok 76 /Default Values/GThreadedSocketService 763s ok 77 /Default Values/GTlsInteraction 763s ok 78 /Default Values/GTlsPassword 763s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 763s ok 80 /Default Values/GUnixFDList 763s ok 81 /Default Values/GVfs 763s ok 82 /Default Values/GVolumeMonitor 763s ok 83 /Default Values/GZlibCompressor 763s ok 84 /Default Values/GZlibDecompressor 763s # End of Default Values tests 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s TAP version 14 763s # random seed: R02Sf8d3d2aa3deef30bcf1421b1f8cca47e 763s 1..90 763s # Start of pattern tests 763s # Start of compile tests 763s ok 1 /pattern/compile/0 763s ok 2 /pattern/compile/1 763s ok 3 /pattern/compile/2 763s ok 4 /pattern/compile/3 763s ok 5 /pattern/compile/4 763s ok 6 /pattern/compile/5 763s ok 7 /pattern/compile/6 763s ok 8 /pattern/compile/7 763s ok 9 /pattern/compile/8 763s ok 10 /pattern/compile/9 763s ok 11 /pattern/compile/10 763s ok 12 /pattern/compile/11 763s ok 13 /pattern/compile/12 763s ok 14 /pattern/compile/13 763s # End of compile tests 763s # Start of copy tests 763s ok 15 /pattern/copy/0 763s ok 16 /pattern/copy/1 763s ok 17 /pattern/copy/2 763s ok 18 /pattern/copy/3 763s ok 19 /pattern/copy/4 763s ok 20 /pattern/copy/5 763s ok 21 /pattern/copy/6 763s ok 22 /pattern/copy/7 763s ok 23 /pattern/copy/8 763s ok 24 /pattern/copy/9 763s ok 25 /pattern/copy/10 763s ok 26 /pattern/copy/11 763s ok 27 /pattern/copy/12 763s ok 28 /pattern/copy/13 763s # End of copy tests 763s # Start of match tests 763s ok 29 /pattern/match/0 763s ok 30 /pattern/match/1 763s ok 31 /pattern/match/2 763s ok 32 /pattern/match/3 763s ok 33 /pattern/match/4 763s ok 34 /pattern/match/5 763s ok 35 /pattern/match/6 763s ok 36 /pattern/match/7 763s ok 37 /pattern/match/8 763s ok 38 /pattern/match/9 763s ok 39 /pattern/match/10 763s ok 40 /pattern/match/11 763s ok 41 /pattern/match/12 763s ok 42 /pattern/match/13 763s ok 43 /pattern/match/14 763s ok 44 /pattern/match/15 763s ok 45 /pattern/match/16 763s ok 46 /pattern/match/17 763s ok 47 /pattern/match/18 763s ok 48 /pattern/match/19 763s ok 49 /pattern/match/20 763s ok 50 /pattern/match/21 763s ok 51 /pattern/match/22 763s ok 52 /pattern/match/23 763s ok 53 /pattern/match/24 763s ok 54 /pattern/match/25 763s ok 55 /pattern/match/26 763s ok 56 /pattern/match/27 763s ok 57 /pattern/match/28 763s ok 58 /pattern/match/29 763s ok 59 /pattern/match/30 763s ok 60 /pattern/match/31 763s ok 61 /pattern/match/32 763s ok 62 /pattern/match/33 763s ok 63 /pattern/match/34 763s ok 64 /pattern/match/35 763s ok 65 /pattern/match/36 763s ok 66 /pattern/match/37 763s ok 67 /pattern/match/38 763s ok 68 /pattern/match/39 763s ok 69 /pattern/match/40 763s ok 70 /pattern/match/41 763s ok 71 /pattern/match/42 763s ok 72 /pattern/match/43 763s ok 73 /pattern/match/44 763s ok 74 /pattern/match/45 763s ok 75 /pattern/match/46 763s ok 76 /pattern/match/47 763s ok 77 /pattern/match/48 763s ok 78 /pattern/match/49 763s ok 79 /pattern/match/50 763s # End of match tests 763s # Start of equal tests 763s ok 80 /pattern/equal/0 763s ok 81 /pattern/equal/1 763s ok 82 /pattern/equal/2 763s ok 83 /pattern/equal/3 763s ok 84 /pattern/equal/4 763s ok 85 /pattern/equal/5 763s ok 86 /pattern/equal/6 763s ok 87 /pattern/equal/7 763s ok 88 /pattern/equal/8 763s ok 89 /pattern/equal/9 763s ok 90 /pattern/equal/10 763s # End of equal tests 763s # End of pattern tests 763s TAP version 14 763s # random seed: R02S1e017649b313c4018a73aa9bd3bb827a 763s 1..1 763s # Start of gobject tests 763s # Start of refcount tests 763s # init 0x617bfb474d60 763s # 763s # init 0x617bfb46d5a0 763s # 763s # Executing: glib/objects-refcount1.test 768s # dispose 0x617bfb474d60! 768s # 768s # dispose 0x617bfb46d5a0! 768s # 768s ok 1 /gobject/refcount/object-basics 768s # slow test /gobject/refcount/object-basics executed in 5.00 secs 768s # End of refcount tests 768s # End of gobject tests 768s ok - glib/objects-refcount1.test 768s # Running test: glib/gdbus-export.test 768s TAP version 14 768s # random seed: R02S1c55d317aeceaae1d9dc8fafdc657b49 768s 1..7 768s # Start of gdbus tests 768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/home 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/cache 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/system-config2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/config 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/system-data2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/data 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/state 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M2R052/gdbus/object-registration/.dirs/runtime 768s ok 1 /gdbus/object-registration 768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/home 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/cache 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/system-config2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/config 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/system-data2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/data 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/state 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures/.dirs/runtime 768s ok 2 /gdbus/object-registration-with-closures 768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/home 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/cache 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/system-config2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/config 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/system-data2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/data 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/state 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M2R052/gdbus/object-registration-with-closures2/.dirs/runtime 768s ok 3 /gdbus/object-registration-with-closures2 768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/home 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/cache 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/system-config2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/config 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/system-data2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/data 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/state 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M2R052/gdbus/registered-interfaces/.dirs/runtime 768s ok 4 /gdbus/registered-interfaces 768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/home 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/cache 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/system-config2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/config 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/system-data2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/data 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/state 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M2R052/gdbus/async-properties/.dirs/runtime 768s ok 5 /gdbus/async-properties 768s # Start of threaded-unregistration tests 768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/home 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/cache 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/system-config2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/config 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/system-data2 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/data 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/state 768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/object/.dirs/runtime 768s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 768s # /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 768s # Executing: glib/gdbus-export.test 769s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 769s # slow test /gdbus/threaded-unregistration/object executed in 1.06 secs 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M2R052/gdbus/threaded-unregistration/subtree/.dirs/runtime 769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 769s # /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 770s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 770s # slow test /gdbus/threaded-unregistration/subtree executed in 1.00 secs 770s # End of threaded-unregistration tests 770s # End of gdbus tests 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 770s ok - glib/gdbus-export.test 770s # Running test: glib/g-file-info.test 770s TAP version 14 770s # random seed: R02Sf31a349450a1fa5cb224b520d34c0e5e 770s 1..6 770s # Start of g-file-info tests 770s ok 1 /g-file-info/test_g_file_info 770s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 770s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 770s ok 2 /g-file-info/xattrs 770s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 770s ok 3 /g-file-info/set-modified-date-time-precision 770s # Start of test_g_file_info tests 770s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 770s ok 4 /g-file-info/test_g_file_info/modification-time 770s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 770s ok 5 /g-file-info/test_g_file_info/access-time 770s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 770s ok 6 /g-file-info/test_g_file_info/creation-time 770s # End of test_g_file_info tests 770s # End of g-file-info tests 770s ok - glib/g-file-info.test 770s # Running test: glib/utf8-performance.test 770s TAP version 14 770s # random seed: R02S5174b5016f951e8f958d99cfbc4be7a4 770s 1..36 770s # Start of utf8 tests 770s # Start of perf tests 770s # Start of get_char tests 770s # max perf: inf MB/s 770s ok 1 /utf8/perf/get_char/ascii 770s # max perf: inf MB/s 770s ok 2 /utf8/perf/get_char/latin1 770s # max perf: inf MB/s 770s ok 3 /utf8/perf/get_char/cyrillic 770s # max perf: inf MB/s 770s ok 4 /utf8/perf/get_char/han 770s # End of get_char tests 770s # Start of get_char-backwards tests 770s # max perf: 0.3 MB/s 770s ok 5 /utf8/perf/get_char-backwards/ascii 770s # max perf: inf MB/s 770s ok 6 /utf8/perf/get_char-backwards/latin1 770s # max perf: 160.0 MB/s 770s ok 7 /utf8/perf/get_char-backwards/cyrillic 770s # max perf: 156.0 MB/s 770s ok 8 /utf8/perf/get_char-backwards/han 770s # End of get_char-backwards tests 770s # Start of get_char_validated tests 770s # max perf: inf MB/s 770s ok 9 /utf8/perf/get_char_validated/ascii 770s # max perf: inf MB/s 770s ok 10 /utf8/perf/get_char_validated/latin1 770s # max perf: inf MB/s 770s ok 11 /utf8/perf/get_char_validated/cyrillic 770s # max perf: 156.0 MB/s 770s ok 12 /utf8/perf/get_char_validated/han 770s # End of get_char_validated tests 770s # Start of utf8_to_ucs4 tests 770s # max perf: 43.0 MB/s 770s ok 13 /utf8/perf/utf8_to_ucs4/ascii 770s # max perf: 67.0 MB/s 770s ok 14 /utf8/perf/utf8_to_ucs4/latin1 770s # max perf: inf MB/s 770s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 770s # max perf: inf MB/s 770s ok 16 /utf8/perf/utf8_to_ucs4/han 770s # End of utf8_to_ucs4 tests 770s # Start of utf8_to_ucs4-sized tests 770s # max perf: inf MB/s 770s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 770s # max perf: inf MB/s 770s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 770s # max perf: inf MB/s 770s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 770s # max perf: inf MB/s 770s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 770s # End of utf8_to_ucs4-sized tests 770s # Start of utf8_to_ucs4_fast tests 770s # max perf: inf MB/s 770s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 770s # max perf: 67.0 MB/s 770s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 770s # max perf: 160.0 MB/s 770s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 770s # max perf: 156.0 MB/s 770s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 770s # End of utf8_to_ucs4_fast tests 770s # Start of utf8_to_ucs4_fast-sized tests 770s # max perf: inf MB/s 770s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 770s # max perf: inf MB/s 770s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 770s # max perf: 160.0 MB/s 770s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 770s # max perf: inf MB/s 770s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 770s # End of utf8_to_ucs4_fast-sized tests 770s # Start of utf8_validate tests 770s # max perf: inf MB/s 770s ok 29 /utf8/perf/utf8_validate/ascii 770s # max perf: inf MB/s 770s ok 30 /utf8/perf/utf8_validate/latin1 770s # max perf: 160.0 MB/s 770s ok 31 /utf8/perf/utf8_validate/cyrillic 770s # max perf: 156.0 MB/s 770s ok 32 /utf8/perf/utf8_validate/han 770s # End of utf8_validate tests 770s # Start of utf8_validate-sized tests 770s # max perf: inf MB/s 770s ok 33 /utf8/perf/utf8_validate-sized/ascii 770s # max perf: 67.0 MB/s 770s ok 34 /utf8/perf/utf8_validate-sized/latin1 770s # max perf: 160.0 MB/s 770s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 770s # max perf: inf MB/s 770s ok 36 /utf8/perf/utf8_validate-sized/han 770s # End of utf8_validate-sized tests 770s # End of perf tests 770s # End of utf8 tests 770s TAP version 14 770s # random seed: R02S177e505fc1b084404a086913e0f4fa2c 770s 1..41 770s # Start of utils tests 770s ok 1 /utils/language-names 770s ok 2 /utils/locale-variants 770s ok 3 /utils/version 770s ok 4 /utils/appname 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 770s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 770s ok 5 /utils/prgname-thread-safety 770s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 770s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 770s ok 6 /utils/tmpdir 770s ok 7 /utils/basic_bits 770s ok 8 /utils/bits 770s ok 9 /utils/swap 770s ok 10 /utils/find-program 770s ok 11 /utils/find-program-for-path 770s ok 12 /utils/debug 770s ok 13 /utils/codeset 770s ok 14 /utils/codeset2 770s ok 15 /utils/console-charset 770s ok 16 /utils/gettext 770s ok 17 /utils/username 770s ok 18 /utils/realname 770s ok 19 /utils/hostname 770s ok 20 /utils/xdgdirs 770s ok 21 /utils/specialdir 770s # NAME: Ubuntu 770s ok 22 /utils/os-info 770s ok 23 /utils/clear-pointer 770s ok 24 /utils/clear-pointer-cast 770s ok 25 /utils/take-pointer 770s ok 26 /utils/clear-source 770s ok 27 /utils/misc-mem 770s # /utils/aligned-mem summary: Aligned memory allocator 770s # Alignment must not be zero 770s # Alignment must be a power of two 770s # Alignment must be a multiple of sizeof(void*) 770s ok 28 /utils/aligned-mem 770s ok - glib/utf8-performance.test 770s # Running test: glib/utils.test 770s ok - glib/utils.test 770s # Running test: glib/proxy-test.test 770s # /utils/free-sized summary: Check that g_free_sized() works 770s ok 29 /utils/free-sized 770s ok 30 /utils/nullify 770s ok 31 /utils/atexit 770s ok 32 /utils/check-setuid 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 770s ok 33 /utils/int-limits 770s ok 34 /utils/clear-list 770s ok 35 /utils/clear-slist 770s ok 36 /utils/steal-handle-id 770s # Start of specialdir tests 770s ok 37 /utils/specialdir/desktop 770s # End of specialdir tests 770s # Start of clear-pointer tests 770s ok 38 /utils/clear-pointer/side-effects 770s # End of clear-pointer tests 770s # Start of aligned-mem tests 770s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 770s ok 39 /utils/aligned-mem/alignment 770s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 770s ok 40 /utils/aligned-mem/zeroed 770s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 770s ok 41 /utils/aligned-mem/free-sized 770s # Start of subprocess tests 770s # End of subprocess tests 770s # End of aligned-mem tests 770s # End of utils tests 770s TAP version 14 770s # random seed: R02Sd244751e681e06aa818a639ced222007 770s 1..11 770s # Start of proxy tests 770s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 770s ok 1 /proxy/direct_sync 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7ae830 and GSocketClientAsyncConnectData 0x60ba0a7adda0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7af160 for GSocketClientAsyncConnectData 0x60ba0a7adda0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 2 /proxy/direct_async 770s ok 3 /proxy/single_sync 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aecd0 and GSocketClientAsyncConnectData 0x60ba0a7adda0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7af830 for GSocketClientAsyncConnectData 0x60ba0a7adda0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 4 /proxy/single_async 770s ok 5 /proxy/multiple_sync 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aef60 and GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b0b90 for GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b0b30 for GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 6 /proxy/multiple_async 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 770s ok 7 /proxy/invalid-uris-sync 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aeb20 and GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 770s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aecd0 and GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 770s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aeb20 and GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7af1c0 for GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aecd0 and GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b0dc0 for GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 8 /proxy/invalid-uris-async 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7ae830 and GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 770s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 770s ok - glib/proxy-test.test 770s # Running test: glib/1bit-mutex.test 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 770s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7b13f0 and GSocketClientAsyncConnectData 0x60ba0a7af0b0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b0b90 for GSocketClientAsyncConnectData 0x60ba0a7af0b0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 770s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aeb20 and GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b0dc0 for GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s ok 9 /proxy/dns 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7ae830 and GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b02b0 for GSocketClientAsyncConnectData 0x60ba0a7aeef0 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 770s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7aeb20 and GSocketClientAsyncConnectData 0x60ba0a7aed90 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b02b0 for GSocketClientAsyncConnectData 0x60ba0a7aed90 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 770s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 770s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x60ba0a7ae830 and GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 770s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x60ba0a7b0ad0 for GSocketClientAsyncConnectData 0x60ba0a7b0d50 770s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 770s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 770s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 770s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 770s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 770s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 770s ok 10 /proxy/override 770s ok 11 /proxy/enumerator-ports 770s # End of proxy tests 770s TAP version 14 770s # random seed: R02S4e082a575de6fa59b7a5fa9d9f92dacb 770s 1..2 770s # Start of glib tests 770s # Start of 1bit-mutex tests 773s # Executing: glib/1bit-mutex.test 776s ok 1 /glib/1bit-mutex/int 776s # slow test /glib/1bit-mutex/int executed in 6.59 secs 778s # Executing: glib/1bit-mutex.test 783s # Executing: glib/1bit-mutex.test 784s ok 2 /glib/1bit-mutex/pointer 784s # slow test /glib/1bit-mutex/pointer executed in 7.36 secs 784s # End of 1bit-mutex tests 784s # End of glib tests 784s ok - glib/1bit-mutex.test 784s # Running test: glib/gdbus-auth.test 784s TAP version 14 784s # random seed: R02S0d0f0be06ff035e28bb56c387025a221 784s 1..5 784s # Start of gdbus tests 784s # Start of auth tests 784s # Start of client tests 784s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/home 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/cache 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/system-config2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/config 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/system-data2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/data 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/state 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/EXTERNAL/.dirs/runtime 784s ok 1 /gdbus/auth/client/EXTERNAL 784s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 784s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 784s # End of client tests 784s # Start of server tests 784s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/home 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/cache 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/config 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/data 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/state 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/ANONYMOUS/.dirs/runtime 784s ok 3 /gdbus/auth/server/ANONYMOUS 784s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/home 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/cache 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/system-config2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/config 784s ok - glib/gdbus-auth.test 784s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=161.6s; system=104.2s; maxrss=181324 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/system-data2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/data 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/state 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/EXTERNAL/.dirs/runtime 784s ok 4 /gdbus/auth/server/EXTERNAL 784s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 784s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_NBZZ52/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 784s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 784s # End of server tests 784s # End of auth tests 784s # End of gdbus tests 784s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 784s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 784s autopkgtest [12:29:21]: test installed-tests: -----------------------] 785s installed-tests PASS 785s autopkgtest [12:29:22]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 785s autopkgtest [12:29:22]: test closure-refcount: preparing testbed 786s Reading package lists... 786s Building dependency tree... 786s Reading state information... 786s Starting pkgProblemResolver with broken count: 0 786s Starting 2 pkgProblemResolver with broken count: 0 786s Done 786s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 787s autopkgtest [12:29:24]: test closure-refcount: [----------------------- 787s Running test: glib/closure-refcount.test 787s TAP version 14 787s # random seed: R02S4b43e595988dbbd34b9e9c8be9ed78a3 787s 1..1 787s # Start of closure tests 787s # Init 0x615790b86d40 787s # Yielding from main thread 787s # Yielding from main thread 787s # Yielding from main thread 787s # Yielding from thread2 787s # Yielding from main thread 787s # Yielding from thread1 787s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from thread1 788s # Yielding from thread2 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from thread2 788s # Yielding from main thread 788s # Yielding from main thread 788s # Yielding from thread1 788s # Yielding from main thread 788s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread1 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread1 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread1 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread1 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from main thread 789s # Yielding from thread1 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from main thread 789s # Yielding from main thread 789s # Yielding from thread1 789s # Yielding from main thread 789s # Yielding from thread2 789s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread1 790s # Yielding from thread2 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from main thread 790s # Yielding from thread1 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread1 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from thread1 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from thread1 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread2 790s # Yielding from main thread 790s # Yielding from main thread 790s # Yielding from thread1 790s # Yielding from main thread 791s # Yielding from main thread 791s # Yielding from thread2 791s # Stopping 791s # Stopped 791s ok 1 /closure/refcount 791s # slow test /closure/refcount executed in 3.34 secs 791s # End of closure tests 791s PASS: glib/closure-refcount.test 791s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.7s; system=0.0s; maxrss=3876 791s autopkgtest [12:29:28]: test closure-refcount: -----------------------] 791s closure-refcount PASS 791s autopkgtest [12:29:28]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 792s autopkgtest [12:29:29]: test debugcontroller: preparing testbed 792s Reading package lists... 792s Building dependency tree... 792s Reading state information... 792s Starting pkgProblemResolver with broken count: 0 792s Starting 2 pkgProblemResolver with broken count: 0 792s Done 793s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 793s autopkgtest [12:29:30]: test debugcontroller: [----------------------- 794s Running test: glib/debugcontroller.test 794s TAP version 14 794s # random seed: R02Sbb5744f6a604892678d5e820b2d12860 794s 1..3 794s # Start of debug-controller tests 794s # Start of dbus tests 794s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 794s # GLib-GIO-DEBUG: Debug output enabled 794s # GLib-GIO-DEBUG: Debug output disabled 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s ok 1 /debug-controller/dbus/basic 794s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s ok 2 /debug-controller/dbus/duplicate 794s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 794s # GLib-GIO-DEBUG: Debug output enabled 794s # GLib-GIO-DEBUG: Debug output disabled 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 794s ok 3 /debug-controller/dbus/properties 794s # End of dbus tests 794s # End of debug-controller tests 794s PASS: glib/debugcontroller.test 794s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6468 794s autopkgtest [12:29:31]: test debugcontroller: -----------------------] 794s autopkgtest [12:29:31]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 794s debugcontroller PASS 795s autopkgtest [12:29:32]: test gdbus-server-auth: preparing testbed 795s Reading package lists... 795s Building dependency tree... 795s Reading state information... 795s Starting pkgProblemResolver with broken count: 0 795s Starting 2 pkgProblemResolver with broken count: 0 795s Done 796s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 796s autopkgtest [12:29:33]: test gdbus-server-auth: [----------------------- 797s Running test: glib/gdbus-server-auth.test 797s TAP version 14 797s # random seed: R02Sa4581fcba9cea3491cd75788c24df439 797s 1..9 797s # Start of gdbus tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/.dirs/runtime 797s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-JHA152 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 797s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-JHA152/dbus-NQnoWm3I 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16242 797s ok 1 /gdbus/server-auth 797s # Start of server-auth tests 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/abstract/.dirs/runtime 797s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-U0LZ52 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 797s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-U0LZ52/dbus-t1MiVFid 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16242 797s ok 2 /gdbus/server-auth/abstract 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/tcp/.dirs/runtime 797s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 797s # Connectable address: tcp:host=127.0.0.1,port=34369 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 797s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 797s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 797s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 797s ok 3 /gdbus/server-auth/tcp 797s # slow test /gdbus/server-auth/tcp executed in 0.86 secs 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/.dirs/runtime 797s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-G0G352 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 797s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-G0G352/dbus-opI4abkF 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16242 797s ok 4 /gdbus/server-auth/anonymous 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/.dirs/runtime 797s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-DOK452 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 797s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-DOK452/dbus-q7KvFXOV 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16242 797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 797s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16242 797s ok 5 /gdbus/server-auth/external 797s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/home 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/cache 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/system-config2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/config 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/system-data2 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/data 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/state 797s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/.dirs/runtime 797s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-PT0352 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 797s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-PT0352/dbus-JMR0HsIU 797s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 797s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 797s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 797s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 797s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16242 798s ok 6 /gdbus/server-auth/sha1 798s # Start of anonymous tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/anonymous/tcp/.dirs/runtime 798s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 798s # Connectable address: tcp:host=127.0.0.1,port=43581 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 798s ok 7 /gdbus/server-auth/anonymous/tcp 798s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.83 secs 798s # End of anonymous tests 798s # Start of external tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/external/require-same-user/.dirs/runtime 798s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-5NT652 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 798s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_XLB152/gdbus-server-auth-5NT652/dbus-ADrfrxyh 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16242 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 798s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16242,uid=1000,gid=1000 798s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16242 798s ok 8 /gdbus/server-auth/external/require-same-user 798s # End of external tests 798s # Start of sha1 tests 798s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/home 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/cache 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/system-config2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/config 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/system-data2 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/data 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/state 798s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_XLB152/gdbus/server-auth/sha1/tcp/.dirs/runtime 798s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 798s # Connectable address: tcp:host=127.0.0.1,port=39345 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 798s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 798s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 798s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 798s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 798s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 799s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 799s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 799s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 799s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 799s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 799s ok 9 /gdbus/server-auth/sha1/tcp 799s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs 799s # End of sha1 tests 799s # End of server-auth tests 799s # End of gdbus tests 799s PASS: glib/gdbus-server-auth.test 799s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8484 800s autopkgtest [12:29:37]: test gdbus-server-auth: -----------------------] 800s gdbus-server-auth PASS 800s autopkgtest [12:29:37]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 800s autopkgtest [12:29:37]: test gdbus-threading: preparing testbed 801s Reading package lists... 801s Building dependency tree... 801s Reading state information... 801s Starting pkgProblemResolver with broken count: 0 801s Starting 2 pkgProblemResolver with broken count: 0 801s Done 801s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 802s autopkgtest [12:29:39]: test gdbus-threading: [----------------------- 802s Running test: glib/gdbus-threading.test 802s TAP version 14 802s # random seed: R02S602eaee70599b23615d4cb292a32b7c5 802s 1..3 802s # Start of gdbus tests 802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/home 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/cache 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/system-config2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/config 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/system-data2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/data 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/state 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_HHP452/gdbus/delivery-in-thread/.dirs/runtime 802s ok 1 /gdbus/delivery-in-thread 802s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/home 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/cache 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/system-config2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/config 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/system-data2 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/data 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/state 802s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_HHP452/gdbus/method-calls-in-thread/.dirs/runtime 803s ok 2 /gdbus/method-calls-in-thread 803s # slow test /gdbus/method-calls-in-thread executed in 0.82 secs 803s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/home 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/cache 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/system-config2 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/config 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/system-data2 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/data 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/state 803s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_HHP452/gdbus/threaded-singleton/.dirs/runtime 804s ok 3 /gdbus/threaded-singleton 804s # slow test /gdbus/threaded-singleton executed in 0.65 secs 804s # End of gdbus tests 804s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 804s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 804s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 804s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 804s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 804s PASS: glib/gdbus-threading.test 804s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.3s; maxrss=6448 804s autopkgtest [12:29:41]: test gdbus-threading: -----------------------] 805s gdbus-threading PASS 805s autopkgtest [12:29:42]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 805s autopkgtest [12:29:42]: test gmenumodel: preparing testbed 805s Reading package lists... 805s Building dependency tree... 805s Reading state information... 806s Starting pkgProblemResolver with broken count: 0 806s Starting 2 pkgProblemResolver with broken count: 0 806s Done 806s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 807s autopkgtest [12:29:44]: test gmenumodel: [----------------------- 807s Running test: glib/gmenumodel.test 807s TAP version 14 807s # random seed: R02S18c8d5ce480e0f31226b64e3d12ed5e7 807s 1..15 807s # Start of gmenu tests 807s ok 1 /gmenu/equality 808s ok 2 /gmenu/random 808s ok 3 /gmenu/attributes 808s ok 4 /gmenu/links 808s ok 5 /gmenu/mutable 808s ok 6 /gmenu/convenience 808s ok 7 /gmenu/menuitem 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 808s ok 8 /gmenu/input-validation 808s # Start of dbus tests 809s ok 9 /gmenu/dbus/roundtrip 809s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 809s ok 10 /gmenu/dbus/subscriptions 810s ok 11 /gmenu/dbus/threaded 810s # slow test /gmenu/dbus/threaded executed in 0.61 secs 810s # Start of peer tests 811s ok 12 /gmenu/dbus/peer/roundtrip 811s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 811s ok 13 /gmenu/dbus/peer/subscriptions 811s # End of peer tests 811s # Start of export tests 811s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 811s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 811s ok 14 /gmenu/dbus/export/error-handling 811s # End of export tests 811s # End of dbus tests 811s # Start of attributes tests 811s ok 15 /gmenu/attributes/iterate 811s # End of attributes tests 811s # End of gmenu tests 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 811s PASS: glib/gmenumodel.test 811s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.8s; system=0.3s; maxrss=36832 812s autopkgtest [12:29:49]: test gmenumodel: -----------------------] 812s gmenumodel PASS 812s autopkgtest [12:29:49]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 812s autopkgtest [12:29:49]: test mainloop: preparing testbed 813s Reading package lists... 813s Building dependency tree... 813s Reading state information... 813s Starting pkgProblemResolver with broken count: 0 813s Starting 2 pkgProblemResolver with broken count: 0 813s Done 814s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 814s autopkgtest [12:29:51]: test mainloop: [----------------------- 814s Running test: glib/mainloop.test 814s TAP version 14 814s # random seed: R02Sc84ac7f25ee94b6f2c980fd3cc45644c 814s 1..45 814s # Start of maincontext tests 814s ok 1 /maincontext/basic 814s # Add same-priority sources: 15 815s # Find each source: 1 815s # Remove in random order: 24 815s ok 2 /maincontext/nsources_same_priority 815s # Add different-priority sources: 13 815s # Find each source: 1 815s # Remove in random order: 25 815s ok 3 /maincontext/nsources_different_priority 815s # Add sources from threads: 54 815s # Remove sources from threads: 275 815s ok 4 /maincontext/nsources_threadpool 815s ok 5 /maincontext/source_finalization 815s # /maincontext/idle-once summary: Test g_idle_add_once() works 815s ok 6 /maincontext/idle-once 815s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 815s ok 7 /maincontext/timeout-once 815s # Start of source_finalization_from_source tests 815s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 8 /maincontext/source_finalization_from_source/0 815s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 9 /maincontext/source_finalization_from_source/1 815s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 10 /maincontext/source_finalization_from_source/2 815s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 11 /maincontext/source_finalization_from_source/3 815s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 12 /maincontext/source_finalization_from_source/4 815s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 13 /maincontext/source_finalization_from_source/5 815s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 14 /maincontext/source_finalization_from_source/6 815s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 15 /maincontext/source_finalization_from_source/7 815s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 16 /maincontext/source_finalization_from_source/8 815s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 815s ok 17 /maincontext/source_finalization_from_source/9 815s # End of source_finalization_from_source tests 815s # Start of source_finalization_from_dispatch tests 815s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 815s ok 18 /maincontext/source_finalization_from_dispatch/0 815s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 815s ok 19 /maincontext/source_finalization_from_dispatch/1 815s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 815s ok 20 /maincontext/source_finalization_from_dispatch/2 815s # End of source_finalization_from_dispatch tests 815s # End of maincontext tests 815s # Start of mainloop tests 815s ok 21 /mainloop/basic 815s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 815s ok 23 /mainloop/priorities 815s ok 24 /mainloop/invoke 815s # slow test /mainloop/invoke executed in 0.50 secs 817s ok 25 /mainloop/child_sources 817s # slow test /mainloop/child_sources executed in 1.20 secs 819s ok 26 /mainloop/recursive_child_sources 819s # slow test /mainloop/recursive_child_sources executed in 2.28 secs 819s ok 27 /mainloop/recursive_loop_child_sources 819s ok 28 /mainloop/swapping_child_sources 819s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 819s ok 29 /mainloop/blocked_child_sources 820s ok 30 /mainloop/source_time 820s # slow test /mainloop/source_time executed in 1.00 secs 820s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 820s ok 31 /mainloop/overflow 820s Executing: glib/mainloop.test 821s ok 32 /mainloop/ready-time 821s # slow test /mainloop/ready-time executed in 0.50 secs 821s ok 33 /mainloop/wakeup 821s ok 34 /mainloop/remove-invalid 821s ok 35 /mainloop/unref-while-pending 821s ok 36 /mainloop/unix-fd 821s # slow test /mainloop/unix-fd executed in 0.85 secs 821s ok 37 /mainloop/unix-fd-source 821s ok 38 /mainloop/source-unix-fd-api 822s ok 39 /mainloop/wait 822s ok 40 /mainloop/unix-file-poll 822s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 822s ok 41 /mainloop/unix-fd-priority 822s ok 42 /mainloop/nfds 822s ok 43 /mainloop/steal-fd 822s # Start of ownerless-polling tests 822s ok 44 /mainloop/ownerless-polling/attach-first 822s ok 45 /mainloop/ownerless-polling/pop-first 822s # End of ownerless-polling tests 822s # End of mainloop tests 822s PASS: glib/mainloop.test 822s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=1.1s; maxrss=16308 822s autopkgtest [12:29:59]: test mainloop: -----------------------] 822s mainloop PASS 822s autopkgtest [12:29:59]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 823s autopkgtest [12:30:00]: test memory-monitor-dbus: preparing testbed 823s Reading package lists... 823s Building dependency tree... 823s Reading state information... 823s Starting pkgProblemResolver with broken count: 0 823s Starting 2 pkgProblemResolver with broken count: 0 823s Done 824s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 825s autopkgtest [12:30:02]: test memory-monitor-dbus: [----------------------- 825s Running test: glib/memory-monitor-dbus.test 825s TAP version 13 825s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 825s # Received memory warning signal, level 825s # Received memory warning signal, level 825s # Received memory warning signal, level 825s 1..1 825s PASS: glib/memory-monitor-dbus.test 825s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30816 825s autopkgtest [12:30:02]: test memory-monitor-dbus: -----------------------] 826s memory-monitor-dbus PASS 826s autopkgtest [12:30:03]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 826s autopkgtest [12:30:03]: test socket: preparing testbed 827s Reading package lists... 827s Building dependency tree... 827s Reading state information... 827s Starting pkgProblemResolver with broken count: 0 827s Starting 2 pkgProblemResolver with broken count: 0 827s Done 827s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 828s autopkgtest [12:30:05]: test socket: [----------------------- 828s Running test: glib/socket.test 828s TAP version 14 828s # random seed: R02S6ae18c2f4a382ad70269076b450adf99 828s 1..28 828s # Start of socket tests 829s ok 1 /socket/ipv4_sync 829s # slow test /socket/ipv4_sync executed in 1.00 secs 830s ok 2 /socket/ipv4_async 830s # slow test /socket/ipv4_async executed in 1.00 secs 830s ok 3 /socket/ipv6_sync 830s ok 4 /socket/ipv6_async 830s ok 5 /socket/ipv6_v4mapped 831s ok 6 /socket/close_graceful 831s # slow test /socket/close_graceful executed in 1.00 secs 831s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 831s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 831s ok 8 /socket/fd_reuse 831s ok 9 /socket/address 831s ok 10 /socket/unix-from-fd 831s ok 11 /socket/unix-connection 831s ok 12 /socket/unix-connection-ancillary-data 831s ok 13 /socket/source-postmortem 831s ok 14 /socket/read_write 831s ok 15 /socket/read_writev 831s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 831s ok 16 /socket/receive_bytes 831s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 831s ok 17 /socket/receive_bytes_from 831s # Start of ipv4_sync tests 831s ok 18 /socket/ipv4_sync/datagram 831s # Start of datagram tests 833s ok 19 /socket/ipv4_sync/datagram/timeouts 833s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 833s # End of datagram tests 833s # End of ipv4_sync tests 833s # Start of ipv6_sync tests 833s ok 20 /socket/ipv6_sync/datagram 833s # Start of datagram tests 834s ok 21 /socket/ipv6_sync/datagram/timeouts 834s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 834s # End of datagram tests 834s # End of ipv6_sync tests 834s # Start of reuse tests 834s ok 22 /socket/reuse/tcp 834s ok 23 /socket/reuse/udp 834s # End of reuse tests 834s # Start of get_available tests 834s ok 24 /socket/get_available/datagram 834s ok 25 /socket/get_available/stream 834s # End of get_available tests 834s # Start of credentials tests 834s # Supported on this OS: GCredentials:linux-ucred:pid=0 834s ok 26 /socket/credentials/tcp_client 834s # Supported on this OS: GCredentials:linux-ucred:pid=0 834s ok 27 /socket/credentials/tcp_server 834s # Supported on this OS: GCredentials:linux-ucred:pid=18115,uid=1000,gid=1000 834s ok 28 /socket/credentials/unix_socketpair 834s # End of credentials tests 834s # End of socket tests 834s PASS: glib/socket.test 834s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6000 834s autopkgtest [12:30:11]: test socket: -----------------------] 835s socket PASS 835s autopkgtest [12:30:12]: test socket: - - - - - - - - - - results - - - - - - - - - - 835s autopkgtest [12:30:12]: test testfilemonitor: preparing testbed 835s Reading package lists... 835s Building dependency tree... 835s Reading state information... 836s Starting pkgProblemResolver with broken count: 0 836s Starting 2 pkgProblemResolver with broken count: 0 836s Done 836s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 837s autopkgtest [12:30:14]: test testfilemonitor: [----------------------- 837s Running test: glib/testfilemonitor.test 837s TAP version 14 837s # random seed: R02S58d193bafd059a45ece6c6c5fce1aa7c 837s 1..8 837s # Start of monitor tests 837s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 837s # Using temporary directory: /tmp/gio-test-testfilemonitor_U0KB62 837s # Using GFileMonitor GInotifyFileMonitor 839s ok 1 /monitor/atomic-replace 839s # slow test /monitor/atomic-replace executed in 2.00 secs 839s # Using temporary directory: /tmp/gio-test-testfilemonitor_42IB62 839s # Using GFileMonitor GInotifyFileMonitor 842s ok 2 /monitor/file-changes 842s # slow test /monitor/file-changes executed in 2.50 secs 842s # Using temporary directory: /tmp/gio-test-testfilemonitor_C0WX52 842s # Using GFileMonitor GInotifyFileMonitor 842s Executing: glib/testfilemonitor.test 845s ok 3 /monitor/dir-monitor 845s # slow test /monitor/dir-monitor executed in 3.50 secs 845s # Using temporary directory: /tmp/gio-test-testfilemonitor_2XYA62 845s # Using GFileMonitor GInotifyFileMonitor 847s Executing: glib/testfilemonitor.test 852s Executing: glib/testfilemonitor.test 857s Executing: glib/testfilemonitor.test 862s Executing: glib/testfilemonitor.test 867s Executing: glib/testfilemonitor.test 870s ok 4 /monitor/dir-not-existent 870s # slow test /monitor/dir-not-existent executed in 25.02 secs 870s # Using temporary directory: /tmp/gio-test-testfilemonitor_LU5852 870s # Using GFileMonitor 0 GInotifyFileMonitor 870s # Using GFileMonitor 1 GInotifyFileMonitor 872s Executing: glib/testfilemonitor.test 872s ok 5 /monitor/cross-dir-moves 872s # slow test /monitor/cross-dir-moves executed in 2.00 secs 872s # Using temporary directory: /tmp/gio-test-testfilemonitor_E5F952 872s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 872s ok 6 /monitor/finalize-in-callback 872s # Using temporary directory: /tmp/gio-test-testfilemonitor_TQC952 872s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 872s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 872s ok 7 /monitor/root 872s # Start of file tests 872s # Using temporary directory: /tmp/gio-test-testfilemonitor_FQB952 872s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 872s # Running with hard link tests 872s # Using GFileMonitor GInotifyFileMonitor 876s # Event 0 at expected index 7 skipped because it is marked as optional 876s # Event 2 at expected index 11 skipped because it is marked as optional 876s ok 8 /monitor/file/hard-links 876s # slow test /monitor/file/hard-links executed in 3.50 secs 876s # End of file tests 876s # End of monitor tests 876s PASS: glib/testfilemonitor.test 876s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5780 876s autopkgtest [12:30:53]: test testfilemonitor: -----------------------] 876s autopkgtest [12:30:53]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 876s testfilemonitor PASS 877s autopkgtest [12:30:54]: test thread-pool-slow: preparing testbed 877s Reading package lists... 877s Building dependency tree... 877s Reading state information... 878s Starting pkgProblemResolver with broken count: 0 878s Starting 2 pkgProblemResolver with broken count: 0 878s Done 878s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 879s autopkgtest [12:30:56]: test thread-pool-slow: [----------------------- 879s Running test: glib/thread-pool-slow.test 879s TAP version 14 879s # random seed: R02S47f48f8b93390ebbd947cd78bc70b1fd 879s 1..7 879s # Start of threadpool tests 879s ok 1 /threadpool/functions 879s ok 2 /threadpool/stop-unused 879s # slow test /threadpool/stop-unused executed in 0.52 secs 880s ok 3 /threadpool/pools 880s # [unsorted] ===> pushed new thread with id:78, number of threads:1, unprocessed:0 880s # [unsorted] ===> pushed new thread with id:29, number of threads:2, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:97, number of threads:3, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:85, number of threads:4, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:20, number of threads:5, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:81, number of threads:6, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:41, number of threads:7, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:100, number of threads:8, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:61, number of threads:9, unprocessed:1 880s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:2 880s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:2 880s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:3 880s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:4 880s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:5 880s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:6 880s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:7 880s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:8 880s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:9 880s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:10 880s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:11 880s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:12 880s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:13 880s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:14 880s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:15 880s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:16 880s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:17 880s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:18 880s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:19 880s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:20 880s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:21 880s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:22 880s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:23 880s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:24 880s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:25 880s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:26 880s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:27 880s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:28 880s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:29 880s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:30 880s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:31 880s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:32 880s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:33 880s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:34 880s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:35 880s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:36 880s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:37 880s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:38 880s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:39 880s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:40 880s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:41 880s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:42 880s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:43 880s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:44 880s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:45 880s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:46 880s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:47 880s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:48 880s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:49 880s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:50 880s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:51 880s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:51 880s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:52 880s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:53 880s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:54 880s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:55 880s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:56 880s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:57 880s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:58 880s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:59 880s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:60 880s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:61 880s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:62 880s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:63 880s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:64 880s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:65 880s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:66 880s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:67 880s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:68 880s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:69 880s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:70 880s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:71 880s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:72 880s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:73 880s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:74 880s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:75 880s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:76 880s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:77 880s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:78 880s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:79 880s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:80 880s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:81 880s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:82 880s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:83 880s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:84 880s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:85 880s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:86 880s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:87 880s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:88 880s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:89 880s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:90 880s ok 4 /threadpool/no-sort 880s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:1 880s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:2 880s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:3 880s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:4 880s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:5 880s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:6 880s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:7 880s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:8 880s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:9 880s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:10 880s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:11 880s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:12 880s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:13 880s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:14 880s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:15 880s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:16 880s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:17 880s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:18 880s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:19 880s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:20 880s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:21 880s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:22 880s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:23 880s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:24 880s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:25 880s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:26 880s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:27 880s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:28 880s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:29 880s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:30 880s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:31 880s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:32 880s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:33 880s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:34 880s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:35 880s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:36 880s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:37 880s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:38 880s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:39 880s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:40 880s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:41 880s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:42 880s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:43 880s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:44 880s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:45 880s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:46 880s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:47 880s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:48 880s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:49 880s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:50 880s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:51 880s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:52 880s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:53 880s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:54 880s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:55 880s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:56 880s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:57 880s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:58 880s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:59 880s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:60 880s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:61 880s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:62 880s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:63 880s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:64 880s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:65 880s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:66 880s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:67 880s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:68 880s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:69 880s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:70 880s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:71 880s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:72 880s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:73 880s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:74 880s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:75 880s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:76 880s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:77 880s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:78 880s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:79 880s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:80 880s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:81 880s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:82 880s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:83 880s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:84 880s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:85 880s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:86 880s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:87 880s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:88 880s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:89 880s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:90 880s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:91 880s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:92 880s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:93 880s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:94 880s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:95 880s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:96 880s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:97 880s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:98 880s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:99 880s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:100 880s # Starting thread pool processing 880s ok 5 /threadpool/sort 880s ok 6 /threadpool/stop-unused-multiple 880s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 880s # Pool idle thread count: 0, unprocessed jobs: 50 881s # Pool idle thread count: 0, unprocessed jobs: 0 881s # Pool idle thread count: 0, unprocessed jobs: 0 881s # Pool idle thread count: 10, unprocessed jobs: 0 881s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 882s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Pool idle thread count: 10, unprocessed jobs: 0 883s # Pool idle thread count: 10, unprocessed jobs: 0 884s # Pool idle thread count: 10, unprocessed jobs: 0 884s # Pool idle thread count: 10, unprocessed jobs: 0 884s Executing: glib/thread-pool-slow.test 884s # Pool idle thread count: 10, unprocessed jobs: 0 884s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 885s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 886s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 887s # Pool idle thread count: 10, unprocessed jobs: 0 888s # Pool idle thread count: 10, unprocessed jobs: 0 888s # Pool idle thread count: 10, unprocessed jobs: 0 888s # Pool idle thread count: 10, unprocessed jobs: 0 888s # Pool idle thread count: 10, unprocessed jobs: 0 889s # Pool idle thread count: 10, unprocessed jobs: 0 889s # Pool idle thread count: 10, unprocessed jobs: 0 889s Executing: glib/thread-pool-slow.test 889s # Pool idle thread count: 10, unprocessed jobs: 2 889s # Pool idle thread count: 10, unprocessed jobs: 2 889s # Pool idle thread count: 8, unprocessed jobs: 0 889s # Pool idle thread count: 8, unprocessed jobs: 0 890s # Pool idle thread count: 10, unprocessed jobs: 0 890s # Pool idle thread count: 10, unprocessed jobs: 0 890s # Pool idle thread count: 10, unprocessed jobs: 0 890s # Pool idle thread count: 10, unprocessed jobs: 0 891s # Pool idle thread count: 10, unprocessed jobs: 0 891s # Pool idle thread count: 10, unprocessed jobs: 0 891s # Pool idle thread count: 2, unprocessed jobs: 0 891s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 892s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Pool idle thread count: 2, unprocessed jobs: 0 893s # Pool idle thread count: 2, unprocessed jobs: 0 894s # Pool idle thread count: 2, unprocessed jobs: 0 894s # Pool idle thread count: 2, unprocessed jobs: 0 894s Executing: glib/thread-pool-slow.test 894s # Pool idle thread count: 2, unprocessed jobs: 0 894s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 895s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 896s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 897s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Pool idle thread count: 2, unprocessed jobs: 0 898s # Pool idle thread count: 2, unprocessed jobs: 0 899s # Pool idle thread count: 2, unprocessed jobs: 0 899s # Pool idle thread count: 2, unprocessed jobs: 0 899s Executing: glib/thread-pool-slow.test 899s # Pool idle thread count: 2, unprocessed jobs: 0 899s # Pool idle thread count: 2, unprocessed jobs: 0 900s ok 7 /threadpool/idle-time 900s # slow test /threadpool/idle-time executed in 19.53 secs 900s # End of threadpool tests 900s PASS: glib/thread-pool-slow.test 900s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.1s; maxrss=4348 900s autopkgtest [12:31:17]: test thread-pool-slow: -----------------------] 900s thread-pool-slow PASS 900s autopkgtest [12:31:17]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 901s autopkgtest [12:31:18]: test threadtests: preparing testbed 901s Reading package lists... 901s Building dependency tree... 901s Reading state information... 901s Starting pkgProblemResolver with broken count: 0 901s Starting 2 pkgProblemResolver with broken count: 0 901s Done 902s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 903s autopkgtest [12:31:20]: test threadtests: [----------------------- 903s Running test: glib/threadtests.test 903s TAP version 14 903s # random seed: R02S63ad7ce24b3c411846cff7e1f6970832 903s 1..5 903s # Start of GObject tests 903s ok 1 /GObject/threaded-object-init 904s ok 2 /GObject/threaded-weak-ref 904s # slow test /GObject/threaded-weak-ref executed in 0.95 secs 904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 904s # /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 904s ok 3 /GObject/threaded-toggle-notify 904s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 904s # Start of threaded-weak-ref tests 904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 904s # /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. 904s ok 5 /GObject/threaded-weak-ref/on-finalization 904s # End of threaded-weak-ref tests 904s # End of GObject tests 904s PASS: glib/threadtests.test 904s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.7s; maxrss=4140 904s autopkgtest [12:31:21]: test threadtests: -----------------------] 905s threadtests PASS 905s autopkgtest [12:31:22]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 905s autopkgtest [12:31:22]: test timeout: preparing testbed 905s Reading package lists... 906s Building dependency tree... 906s Reading state information... 906s Starting pkgProblemResolver with broken count: 0 906s Starting 2 pkgProblemResolver with broken count: 0 906s Done 906s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 907s autopkgtest [12:31:24]: test timeout: [----------------------- 907s Running test: glib/timeout.test 907s TAP version 14 907s # random seed: R02Sa2caf2a53f3808a65f9c751c54b09052 907s 1..5 907s # Start of timeout tests 907s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 909s ok 1 /timeout/seconds 909s # slow test /timeout/seconds executed in 2.10 secs 911s ok 2 /timeout/seconds-once 911s # slow test /timeout/seconds-once executed in 2.10 secs 911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 912s Executing: glib/timeout.test 914s ok 3 /timeout/weeks-overflow 914s # slow test /timeout/weeks-overflow executed in 2.10 secs 914s ok 4 /timeout/far-future-ready-time 917s Executing: glib/timeout.test 922s Executing: glib/timeout.test 924s ok 5 /timeout/rounding 924s # slow test /timeout/rounding executed in 10.66 secs 924s # End of timeout tests 924s PASS: glib/timeout.test 924s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3320 924s autopkgtest [12:31:41]: test timeout: -----------------------] 925s timeout PASS 925s autopkgtest [12:31:42]: test timeout: - - - - - - - - - - results - - - - - - - - - - 925s autopkgtest [12:31:42]: test timer: preparing testbed 926s Reading package lists... 926s Building dependency tree... 926s Reading state information... 926s Starting pkgProblemResolver with broken count: 0 926s Starting 2 pkgProblemResolver with broken count: 0 926s Done 926s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 927s autopkgtest [12:31:44]: test timer: [----------------------- 927s Running test: glib/timer.test 927s TAP version 14 927s # random seed: R02Sc178831f1ac2127226d035cbcfb79471 927s 1..10 927s # Start of timer tests 927s ok 1 /timer/basic 927s ok 2 /timer/stop 927s ok 3 /timer/continue 927s ok 4 /timer/reset 927s ok 5 /timer/is_active 927s # End of timer tests 927s # Start of timeval tests 927s ok 6 /timeval/add 927s ok 7 /timeval/from-iso8601 927s ok 8 /timeval/to-iso8601 927s # Start of to-iso8601 tests 927s ok 9 /timeval/to-iso8601/overflow 927s # End of to-iso8601 tests 927s # End of timeval tests 927s # Start of usleep tests 927s ok 10 /usleep/with-zero-wait 927s # End of usleep tests 927s PASS: glib/timer.test 927s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3444 928s autopkgtest [12:31:45]: test timer: -----------------------] 928s timer PASS 928s autopkgtest [12:31:45]: test timer: - - - - - - - - - - results - - - - - - - - - - 928s autopkgtest [12:31:45]: test 1065022-futureproofing: preparing testbed 996s autopkgtest [12:32:53]: testbed dpkg architecture: amd64 996s autopkgtest [12:32:53]: testbed apt version: 3.0.0 996s autopkgtest [12:32:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 996s autopkgtest [12:32:53]: testbed release detected to be: questing 997s autopkgtest [12:32:54]: updating testbed package index (apt update) 997s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 998s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 998s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 998s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 998s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [33.3 kB] 998s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1184 kB] 998s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [124 kB] 998s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [179 kB] 998s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [128 kB] 998s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1271 kB] 999s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [466 kB] 999s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [26.5 kB] 999s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [50.7 kB] 999s Fetched 3573 kB in 1s (2528 kB/s) 1000s Reading package lists... 1000s autopkgtest [12:32:57]: upgrading testbed (apt dist-upgrade and autopurge) 1000s Reading package lists... 1000s Building dependency tree... 1000s Reading state information... 1001s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1001s Starting 2 pkgProblemResolver with broken count: 0 1001s Done 1001s Entering ResolveByKeep 1002s 1002s Calculating upgrade... 1002s The following packages will be upgraded: 1002s libmm-glib0 publicsuffix tzdata 1002s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1002s Need to get 595 kB of archives. 1002s After this operation, 60.4 kB of additional disk space will be used. 1002s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 tzdata all 2025b-3ubuntu1 [198 kB] 1002s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 publicsuffix all 20250328.1952-0.1 [135 kB] 1002s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmm-glib0 amd64 1.24.0-1 [262 kB] 1003s Preconfiguring packages ... 1003s Fetched 595 kB in 0s (1249 kB/s) 1003s (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 ... 80517 files and directories currently installed.) 1003s Preparing to unpack .../tzdata_2025b-3ubuntu1_all.deb ... 1003s Unpacking tzdata (2025b-3ubuntu1) over (2025b-1ubuntu1) ... 1003s Preparing to unpack .../publicsuffix_20250328.1952-0.1_all.deb ... 1003s Unpacking publicsuffix (20250328.1952-0.1) over (20250108.1153-0.1) ... 1003s Preparing to unpack .../libmm-glib0_1.24.0-1_amd64.deb ... 1003s Unpacking libmm-glib0:amd64 (1.24.0-1) over (1.23.4-0ubuntu3) ... 1003s Setting up tzdata (2025b-3ubuntu1) ... 1003s 1003s Current default time zone: 'Etc/UTC' 1003s Local time is now: Sun May 4 12:33:00 UTC 2025. 1003s Universal Time is now: Sun May 4 12:33:00 UTC 2025. 1003s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1003s 1003s Setting up libmm-glib0:amd64 (1.24.0-1) ... 1003s Setting up publicsuffix (20250328.1952-0.1) ... 1003s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1004s Reading package lists... 1004s Building dependency tree... 1004s Reading state information... 1004s Starting pkgProblemResolver with broken count: 0 1004s Starting 2 pkgProblemResolver with broken count: 0 1004s Done 1004s Solving dependencies... 1005s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1007s Reading package lists... 1007s Building dependency tree... 1007s Reading state information... 1007s Starting pkgProblemResolver with broken count: 0 1008s Starting 2 pkgProblemResolver with broken count: 0 1008s Done 1008s The following NEW packages will be installed: 1008s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1008s libdconf1 1008s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1008s Need to get 140 kB of archives. 1008s After this operation, 648 kB of additional disk space will be used. 1008s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libdconf1 amd64 0.40.0-5 [39.8 kB] 1008s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 dconf-service amd64 0.40.0-5 [28.4 kB] 1008s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 dconf-gsettings-backend amd64 0.40.0-5 [22.7 kB] 1008s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 dpkg-repack all 1.54 [11.2 kB] 1008s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 gsettings-desktop-schemas all 48.0-1ubuntu1 [37.6 kB] 1008s Fetched 140 kB in 0s (409 kB/s) 1008s Selecting previously unselected package libdconf1:amd64. 1008s (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 ... 80517 files and directories currently installed.) 1008s Preparing to unpack .../libdconf1_0.40.0-5_amd64.deb ... 1008s Unpacking libdconf1:amd64 (0.40.0-5) ... 1008s Selecting previously unselected package dconf-service. 1008s Preparing to unpack .../dconf-service_0.40.0-5_amd64.deb ... 1008s Unpacking dconf-service (0.40.0-5) ... 1008s Selecting previously unselected package dconf-gsettings-backend:amd64. 1008s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_amd64.deb ... 1008s Unpacking dconf-gsettings-backend:amd64 (0.40.0-5) ... 1008s Selecting previously unselected package dpkg-repack. 1008s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1008s Unpacking dpkg-repack (1.54) ... 1009s Selecting previously unselected package gsettings-desktop-schemas. 1009s Preparing to unpack .../gsettings-desktop-schemas_48.0-1ubuntu1_all.deb ... 1009s Unpacking gsettings-desktop-schemas (48.0-1ubuntu1) ... 1009s Setting up dpkg-repack (1.54) ... 1009s Setting up libdconf1:amd64 (0.40.0-5) ... 1009s Setting up dconf-service (0.40.0-5) ... 1009s Setting up dconf-gsettings-backend:amd64 (0.40.0-5) ... 1009s Setting up gsettings-desktop-schemas (48.0-1ubuntu1) ... 1009s Processing triggers for man-db (2.13.0-1) ... 1009s Processing triggers for libglib2.0-0t64:amd64 (2.84.1-1) ... 1009s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1013s autopkgtest [12:33:10]: test 1065022-futureproofing: [----------------------- 1013s + export DEBIAN_FRONTEND=noninteractive 1013s + n=0 1013s + failed=0 1013s + binary_package=libglib2.0-0t64 1013s + future_binary_package=libglib2.0-0xyz 1013s + pwd 1013s + srcdir=/tmp/autopkgtest.v9JF9g/build.z0V/src 1013s + mktemp -d 1013s + tmpdir=/tmp/tmp.Vem0QzbzSJ 1013s + cd /tmp/tmp.Vem0QzbzSJ 1013s + [ -e /tmp/autopkgtest.v9JF9g/build.z0V/src/debian/tests/manual/local-1065022.sources ] 1013s + dpkg-query -W dpkg-repack 1013s + dpkg-repack --generate libglib2.0-0t64 1013s dpkg-repack 1.54 1013s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1013s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.WvzxyT for libglib2.0-0t64 1013s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.WvzxyT ." 1013s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.WvzxyT/DEBIAN/control 1013s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.WvzxyT/DEBIAN/control 1013s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.WvzxyT/DEBIAN/control 1013s + 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.WvzxyT/DEBIAN/control 1013s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.WvzxyT libglib2.0-0xyz.deb 1013s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1015s + apt-get -y install ./libglib2.0-0xyz.deb 1015s Reading package lists... 1015s Building dependency tree... 1015s Reading state information... 1015s Solving dependencies... 1016s Writing error report... 1016s The following packages were automatically installed and are no longer required: 1016s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1016s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 1016s libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1016s libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 1016s libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 1016s python3-apport python3-configobj python3-debconf python3-markdown-it 1016s python3-mdurl python3-problem-report python3-pygments python3-rich 1016s python3-systemd 1016s Use 'sudo apt autoremove' to remove them. 1016s The following additional packages will be installed: 1016s xdg-user-dirs 1016s Suggested packages: 1016s low-memory-monitor 1016s Recommended packages: 1016s shared-mime-info 1016s The following packages will be REMOVED: 1016s apport apport-core-dump-handler bolt cloud-init cloud-init-base 1016s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 1016s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3 1016s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1016s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 1016s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 1016s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 1016s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 1016s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 1016s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi 1016s python3-netplan shared-mime-info ubuntu-minimal udisks2 xfsprogs 1016s The following NEW packages will be installed: 1016s libglib2.0-0xyz xdg-user-dirs 1016s 0 upgraded, 2 newly installed, 49 to remove and 0 not upgraded. 1016s Need to get 18.5 kB/1689 kB of archives. 1016s After this operation, 36.8 MB disk space will be freed. 1016s Get:1 /tmp/tmp.Vem0QzbzSJ/libglib2.0-0xyz.deb libglib2.0-0xyz amd64 2.84.1-1 [1670 kB] 1016s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 xdg-user-dirs amd64 0.18-2 [18.5 kB] 1016s Fetched 18.5 kB in 0s (84.5 kB/s) 1016s (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 ... 80586 files and directories currently installed.) 1016s Removing bolt (0.9.8-1) ... 1017s Removing cloud-init (25.2~1g7a0265d3-0ubuntu1) ... 1017s Removing cloud-init-base (25.2~1g7a0265d3-0ubuntu1) ... 1017s Removing gsettings-desktop-schemas (48.0-1ubuntu1) ... 1017s Removing dconf-gsettings-backend:amd64 (0.40.0-5) ... 1017s Removing dconf-service (0.40.0-5) ... 1017s Removing fwupd (2.0.8-3) ... 1018s Removing networkd-dispatcher (2.2.4-1.1) ... 1018s Removing udisks2 (2.10.1-11ubuntu2) ... 1018s Removing libblockdev-crypto3:amd64 (3.3.0-2) ... 1018s Removing libblockdev-fs3:amd64 (3.3.0-2) ... 1018s Removing libblockdev-loop3:amd64 (3.3.0-2) ... 1018s Removing libblockdev-mdraid3:amd64 (3.3.0-2) ... 1018s Removing libblockdev-nvme3:amd64 (3.3.0-2) ... 1018s Removing libblockdev-part3:amd64 (3.3.0-2) ... 1018s Removing libblockdev-swap3:amd64 (3.3.0-2) ... 1018s Removing libblockdev3:amd64 (3.3.0-2) ... 1018s Removing libblockdev-utils3:amd64 (3.3.0-2) ... 1018s Removing libdconf1:amd64 (0.40.0-5) ... 1018s Removing libfwupd3:amd64 (2.0.8-3) ... 1018s Removing shared-mime-info (2.4-5build1) ... 1019s Removing xfsprogs (6.13.0-2ubuntu1) ... 1019s Removing python3-dbus (1.3.2-5build5) ... 1019s Removing libgudev-1.0-0:amd64 (1:238-6) ... 1019s Removing libjcat1:amd64 (0.2.3-1) ... 1019s Removing libjson-glib-1.0-0:amd64 (1.10.6+ds-2) ... 1019s Removing libqmi-proxy (1.36.0-1) ... 1019s Removing libqmi-glib5:amd64 (1.36.0-1) ... 1019s Removing libmbim-proxy (1.32.0-1) ... 1019s Removing libmbim-glib4:amd64 (1.32.0-1) ... 1019s Removing libmm-glib0:amd64 (1.24.0-1) ... 1019s Removing ubuntu-minimal (1.549) ... 1019s Removing netplan.io (1.1.2-2ubuntu1) ... 1019s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1019s Removing python3-netplan (1.1.2-2ubuntu1) ... 1019s Removing netplan-generator (1.1.2-2ubuntu1) ... 1019s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1019s Removing libnetplan1:amd64 (1.1.2-2ubuntu1) ... 1020s Removing libpolkit-agent-1-0:amd64 (126-2) ... 1020s Removing libpolkit-gobject-1-0:amd64 (126-2) ... 1020s Removing libqrtr-glib0:amd64 (1.2.2-1ubuntu4) ... 1020s Removing libudisks2-0:amd64 (2.10.1-11ubuntu2) ... 1020s Removing libvolume-key1:amd64 (0.3.12-9) ... 1020s Removing libxmlb2:amd64 (0.3.22-1) ... 1020s Removing apport (2.32.0-0ubuntu5) ... 1020s Removing apport-core-dump-handler (2.32.0-0ubuntu5) ... 1020s Removing python3-gi (3.50.0-4build1) ... 1020s Removing gir1.2-girepository-2.0:amd64 (1.84.0-1) ... 1020s Removing gir1.2-glib-2.0:amd64 (2.84.1-1) ... 1021s Removing libgirepository-1.0-1:amd64 (1.84.0-1) ... 1021s Removing libglib2.0-0t64:amd64 (2.84.1-1) ... 1021s Selecting previously unselected package libglib2.0-0xyz:amd64. 1021s (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 ... 79440 files and directories currently installed.) 1021s Preparing to unpack .../libglib2.0-0xyz.deb ... 1021s Unpacking libglib2.0-0xyz:amd64 (2.84.1-1) ... 1021s Selecting previously unselected package xdg-user-dirs. 1021s Preparing to unpack .../xdg-user-dirs_0.18-2_amd64.deb ... 1021s Unpacking xdg-user-dirs (0.18-2) ... 1021s Setting up xdg-user-dirs (0.18-2) ... 1021s Setting up libglib2.0-0xyz:amd64 (2.84.1-1) ... 1021s No schema files found: removed existing output file. 1021s Processing triggers for dbus (1.16.2-2ubuntu1) ... 1021s Processing triggers for initramfs-tools (0.147ubuntu1) ... 1021s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic 1021s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1030s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1030s Processing triggers for man-db (2.13.0-1) ... 1031s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1031s + n=1 1031s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1031s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1031s + failed=1 1031s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1031s + n=2 1031s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1031s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1031s + failed=1 1031s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1031s + n=3 1031s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1031s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1031s + failed=1 1031s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1031s + n=4 1031s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1031s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1031s + failed=1 1031s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1031s + n=5 1031s + test -e /usr/lib/*/gio/modules/giomodule.cache 1031s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1031s + failed=1 1031s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1031s + n=6 1031s + test -s /usr/lib/*/gio/modules/giomodule.cache 1031s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1031s + failed=1 1031s + apt-get -y purge libglib2.0-0t64 1031s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1031s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1031s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1031s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1031s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1031s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1031s Reading package lists... 1032s Building dependency tree... 1032s Reading state information... 1032s The following packages were automatically installed and are no longer required: 1032s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libbytesize-common 1032s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libgpgme11t64 libicu76 1032s libinih1 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 1032s libonig5 libprotobuf-c1 libtss2-esys-3.0.2-0t64 libtss2-sys1t64 1032s libtss2-tcti-cmd0t64 libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 1032s python3-apport python3-configobj python3-debconf python3-markdown-it 1032s python3-mdurl python3-problem-report python3-pygments python3-rich 1032s python3-systemd 1032s Use 'sudo apt autoremove' to remove them. 1032s The following packages will be REMOVED: 1032s libglib2.0-0t64* 1032s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1032s After this operation, 0 B of additional disk space will be used. 1032s (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 ... 79475 files and directories currently installed.) 1032s Purging configuration files for libglib2.0-0t64:amd64 (2.84.1-1) ... 1032s + not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1032s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1032s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1032s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1032s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1032s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1032s assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1032s + n=7 1032s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1032s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1032s + failed=1 1032s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1032s + n=8 1032s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1032s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1032s + failed=1 1032s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1032s + n=9 1032s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1032s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1032s + failed=1 1032s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1032s + n=10 1032s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1032s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1032s + failed=1 1032s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1032s + n=11 1032s + test -e /usr/lib/*/gio/modules/giomodule.cache 1032s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1032s + failed=1 1032s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1032s + n=12 1032s + test -s /usr/lib/*/gio/modules/giomodule.cache 1032s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1032s + failed=1 1032s + apt-get -y purge libglib2.0-0xyz 1032s Reading package lists... 1033s Building dependency tree... 1033s Reading state information... 1033s The following packages were automatically installed and are no longer required: 1033s apport-symptoms exfatprogs fwupd-signed jq libatasmart4 libatomic1 1033s libbytesize-common libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 1033s libglib2.0-data libgpgme11t64 libicu76 libinih1 libjq1 1033s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1033s libtss2-esys-3.0.2-0t64 libtss2-sys1t64 libtss2-tcti-cmd0t64 1033s libtss2-tcti-mssim0t64 libtss2-tcti-swtpm0t64 python3-apport 1033s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1033s python3-problem-report python3-pygments python3-rich python3-systemd 1033s xdg-user-dirs 1033s Use 'sudo apt autoremove' to remove them. 1033s The following packages will be REMOVED: 1033s libglib2.0-0xyz* 1033s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1033s After this operation, 4638 kB disk space will be freed. 1033s (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 ... 79475 files and directories currently installed.) 1033s Removing libglib2.0-0xyz:amd64 (2.84.1-1) ... 1033s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1033s (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 ... 79450 files and directories currently installed.) 1033s Purging configuration files for libglib2.0-0xyz:amd64 (2.84.1-1) ... 1033s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1033s + n=13 1033s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1033s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1033s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1033s + n=14 1033s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1033s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1033s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1033s + n=15 1033s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1033s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1033s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 1033s + n=16 1033s + test -e /usr/lib/*/gio/modules/giomodule.cache 1033s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1033s + echo 1..16 1033s + exit 1 1033s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1033s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1033s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1033s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1033s 1..16 1034s autopkgtest [12:33:31]: test 1065022-futureproofing: -----------------------] 1034s autopkgtest [12:33:31]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1034s 1065022-futureproofing FLAKY non-zero exit status 1 1035s autopkgtest [12:33:32]: @@@@@@@@@@@@@@@@@@@@ summary 1035s build PASS (superficial) 1035s build-static PASS (superficial) 1035s girepository-tools PASS (superficial) 1035s libgio-2.0-dev-bin PASS (superficial) 1035s libglib2.0-dev PASS (superficial) 1035s installed-tests PASS 1035s closure-refcount PASS 1035s debugcontroller PASS 1035s gdbus-server-auth PASS 1035s gdbus-threading PASS 1035s gmenumodel PASS 1035s mainloop PASS 1035s memory-monitor-dbus PASS 1035s socket PASS 1035s testfilemonitor PASS 1035s thread-pool-slow PASS 1035s threadtests PASS 1035s timeout PASS 1035s timer PASS 1035s 1065022-futureproofing FLAKY non-zero exit status 1 1051s nova [W] Skipping flock for amd64 1051s Creating nova instance adt-questing-amd64-glib2.0-20250504-110139-juju-7f2275-prod-proposed-migration-environment-21-9160c5ea-5101-484f-821d-8b43840e9ccf from image adt/ubuntu-questing-amd64-server-20250504.img (UUID 4cf89fcc-bb54-4e0d-9acf-e03be076f6e4)... 1051s nova [W] Timed out waiting for 36564f9d-44a7-4638-8c6e-258f49f52886 to get deleted. 1051s nova [W] Skipping flock for amd64 1051s Creating nova instance adt-questing-amd64-glib2.0-20250504-110139-juju-7f2275-prod-proposed-migration-environment-21-9160c5ea-5101-484f-821d-8b43840e9ccf from image adt/ubuntu-questing-amd64-server-20250504.img (UUID 4cf89fcc-bb54-4e0d-9acf-e03be076f6e4)... 1051s nova [W] Timed out waiting for a7a2e0c2-5cab-4914-bdae-ae01e7d448fc to get deleted. 1051s nova [W] Skipping flock for amd64 1051s Creating nova instance adt-questing-amd64-glib2.0-20250504-110139-juju-7f2275-prod-proposed-migration-environment-21-9160c5ea-5101-484f-821d-8b43840e9ccf from image adt/ubuntu-questing-amd64-server-20250504.img (UUID 4cf89fcc-bb54-4e0d-9acf-e03be076f6e4)... 1051s nova [W] Timed out waiting for 929c977d-3d41-4413-84d8-4d374f1fae3d to get deleted. 1051s nova [W] Skipping flock for amd64 1051s Creating nova instance adt-questing-amd64-glib2.0-20250504-110139-juju-7f2275-prod-proposed-migration-environment-21-9160c5ea-5101-484f-821d-8b43840e9ccf from image adt/ubuntu-questing-amd64-server-20250504.img (UUID 4cf89fcc-bb54-4e0d-9acf-e03be076f6e4)... 1051s nova [W] Timed out waiting for 7c7b443e-f5c7-46ac-9f54-b3642cc62595 to get deleted. 1051s nova [W] Skipping flock for amd64 1051s Creating nova instance adt-questing-amd64-glib2.0-20250504-110139-juju-7f2275-prod-proposed-migration-environment-21-9160c5ea-5101-484f-821d-8b43840e9ccf from image adt/ubuntu-questing-amd64-server-20250504.img (UUID 4cf89fcc-bb54-4e0d-9acf-e03be076f6e4)... 1051s nova [W] Timed out waiting for 5e7206d6-326e-4ce9-8186-34d0d6129f32 to get deleted. 1051s nova [W] Skipping flock for amd64 1051s Creating nova instance adt-questing-amd64-glib2.0-20250504-110139-juju-7f2275-prod-proposed-migration-environment-21-9160c5ea-5101-484f-821d-8b43840e9ccf from image adt/ubuntu-questing-amd64-server-20250504.img (UUID 4cf89fcc-bb54-4e0d-9acf-e03be076f6e4)... 1051s nova [W] Timed out waiting for e0a5be01-8c33-49df-8359-ee349d4be186 to get deleted.